twitter/bootstrap — pull request #1167 by njay (2012-01-25 01:59:17+00:00)
Title: $.fn.dropdown propagates click events if the dropdown menu is already displayed

This way, if the dropdown-toggle element has an href, it can actually be used as a navigation element in the submenu. If it doesn't, then behavior is unchanged by this patch.