New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javascript not working on 2.0? #48
Comments
norepro here, I've just got it working in my application. I would point out that the API changed slightly for dropdowns, but if it works when you directly include it then I'm not sure where the problem is. |
Possibly related: after updating bootstrap-sass from 1.4.3 to 2.0.0, I'm getting: couldn't find file 'bootstrap-alerts' The referenced line is //= require bootstrap-alerts |
Never mind. Twitter changed from bootstrap-alerts to bootstrap-alert. A foolish consistency... |
Try this in
I was having the same problem until I moved the |
@barriault |
@thomas-mcdonald Sorry, I've been playing with both the |
The Twitter components depend upon the presence of jQuery, although they shouldn't need the UJS helper. |
Thanks for the responses. Changing the require order fixes this for me. |
I'm actually randomly running into this issue after everything working perfectly for so long. The Dropdown JS suddenly does not work for me. Everything else works fine. I suspect there's some sort of JS clash somewhere, but I'm not sure where. I think the problem started after moving the gem out of the :asset group because I was having trouble deploying to Heroku. |
I'm using the Bootstrap 2.0 branch in my Rails app, but I've found that the javascript components (specifically the dropdown) aren't working. If I include the js directly from the Twitter lib (http://twitter.github.com/bootstrap/assets/js/bootstrap-dropdown.js), then dropdowns work fine.
Has anybody else encountered this problem?
The text was updated successfully, but these errors were encountered: