1
0
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:
Mark Otto
2011-09-17 17:21:43 -07:00
parent 732ff9ed1c
commit ec8619a980
6 changed files with 180 additions and 251 deletions

View File

@@ -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