Skip to content

Commit

Permalink
Removed touchstart from bootstrap-dropdown.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
nanek committed Jan 8, 2013
1 parent 1c0e4fc commit b5ad506
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/bootstrap-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@
* =================================== */

$(document)
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
.on('click.dropdown.data-api touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
.on('touchstart.dropdown.data-api', '.dropdown-menu', function (e) { e.stopPropagation() })
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
.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)

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

0 comments on commit b5ad506

Please sign in to comment.