dropdown issue "too much recursion"
Created by: Yohn
I think when we took out support for the touchstart feature in the dropdowm menus, we missed something.. at the bottom of the dropdown plugin theres this..
$(document)
.on('.dropdown-menu', function (e) { e.stopPropagation() })
shouldnt this line have an action in it? like click.dropdown-menu
instead of just .dropdown-menu
? whats this line for anyways?
I first found this problem a yesterday when I was getting a "too much recursion" error when working with @jschr's bootstrap-modal plugin and reported it there cause it didnt happen without jschrs plugin
my work arounds would be to either add the click
event handler in that line, or simply take it out, both solutions work but I'm not sure exactly what its doing so I wouldnt take it out just yet..
guess I should show ya a fiddle to - http://jsfiddle.net/mh4hY/
fiddle works now since jschr updated his plugin with the code posted below