mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 10:34:07 +02:00
update docs to remove old stuff, update to all new classes; no more backwards compatibility
This commit is contained in:
4
js/bootstrap-dropdown.js
vendored
4
js/bootstrap-dropdown.js
vendored
@@ -20,7 +20,7 @@
|
||||
|
||||
(function( $ ){
|
||||
|
||||
var d = 'a.menu, .dropdown-toggle'
|
||||
var d = '.dropdown-toggle'
|
||||
|
||||
function clearMenus() {
|
||||
$(d).parent('li').removeClass('open')
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
$(function () {
|
||||
$('html').bind("click", clearMenus)
|
||||
$('body').dropdown( '[data-dropdown] a.menu, [data-dropdown] .dropdown-toggle' )
|
||||
$('body').dropdown( '[data-dropdown] .dropdown-toggle' )
|
||||
})
|
||||
|
||||
/* DROPDOWN PLUGIN DEFINITION
|
||||
|
Reference in New Issue
Block a user