Closed gavinhughes closed 12 years ago
Hi, make sure you're adding the required attributes to the elements you want ot use js with (e.g. data-dropdown for dropdowns, per http://twitter.github.com/bootstrap/javascript.html#dropdown).
Working now. Thanks.
I'm on the current master branch I can't get the javascript to work. For testing I've got js slimmed down to this:
If I click on a dropdown, it doesn't respond to the click event. However, if I remove bootstrap-dropdown, and just add this:
$ -> $('.dropdown').click -> $(@).addClass('open')
it responds just fine. It's not just the dropdown js either, none of the bootstrap js files work.
Any ideas?