Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions js/bootstrap-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@

$parent.length || ($parent = $this.parent())

clearMenus()

!$parent.hasClass('open') && $parent.toggleClass('open')
$parent.toggleClass('open')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove this?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, now that you ask… I was only trying with a single drop down menu,
so I never noticed why that was there.

However, without removing that it won't hide the drop down when you
click on it while open. I'll look into it further tomorrow.

Cheers,

2012/1/2 Jacob Thornton
reply@reply.github.com:

@@ -41,9 +41,7 @@

       $parent.length || ($parent = $this.parent())

  •      clearMenus()

why remove this?


Reply to this email directly or view it on GitHub:
https://github.com/twitter/bootstrap/pull/874/files#r322803


return false
}
Expand Down