Skip to content

Commit

Permalink
Fix twbs#4550
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaogaozi committed Nov 8, 2012
1 parent 3b3dd3a commit 7bd46ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -35,3 +35,4 @@ nbproject
.idea
node_modules
dist
bootstrap
5 changes: 3 additions & 2 deletions js/bootstrap-dropdown.js
Expand Up @@ -142,7 +142,8 @@
$(document)
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
.on('touchstart.dropdown.data-api', '.dropdown-menu', function(e) { e.stopPropagation() })
.on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)

}(window.jQuery);
}(window.jQuery);

0 comments on commit 7bd46ea

Please sign in to comment.