bootstrap-without-jquery
bootstrap-without-jquery copied to clipboard
Links within dropdowns don't open in Firefox
Reported by neroBRN: http://daniemon.com/blog/bootstrap-without-jquery/#comment-69004
It seems the click fires the event to close the dropdown before the href link is triggered.
I'm also having this issue in Safari, Version 7.1.3 (9537.85.12.18) on Mac OS 10.9.5, though not in the latest Chrome.
I have another version of this code and I'm not having problems with link trigger inside the dropdown-menu.
Oops, the issue is still present in IE10-
The fix coming with the above PR works fine on IE10- and I believe any other.
Ping?
Firefox doesn't support the event.relatedTarget
:unamused:
developer.mozilla.org/en-US/docs/Web/API/MouseEvent/relatedTarget