Skip to content

Commit

Permalink
Remove invalid .on() from bootstrap-dropdown.js
Browse files Browse the repository at this point in the history
Fixes twbs#6835

Remnant from b5ad506 where first param was removed but not the whole line
  • Loading branch information
rzhw committed Feb 18, 2013
1 parent 8c7f9c6 commit 523accf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/bootstrap-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
$(document)
.on('click.dropdown.data-api', clearMenus)
.on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
.on('.dropdown-menu', function (e) { e.stopPropagation() })
.on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
.on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)

Expand Down

0 comments on commit 523accf

Please sign in to comment.