<p dir="auto">This jsfiddle illustrates that the 'toggle' option does not toggle. It opens the dropdown but does not close it when clicked a second time.</p>
<p dir="auto"><a href="http://jsfiddle.net/urQvW/" rel="nofollow">http://jsfiddle.net/urQvW/</a></p>
<p dir="auto">If you use the JavaScript interface for dropdown -- .dropdown("toggle") -- multiple times, the "open" class isn't cleared, so the dropdown stays open.</p>
<p dir="auto"><a href="https://gist.github.com/evanp/6456479">https://gist.github.com/evanp/6456479</a></p>