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
Assign class selector for modals #682
Comments
I second this This wont work with any javascript router that utilizes hash for single page application. I hoping something can be done to make this independent of router libraries |
Trying to use Ratchet with EmberJS. Came across this issue. 👍 |
I'm having the same problem with my Backbone app, it doesn't interferes with the router behavior, but it's annoying to have those errors in the log... |
I dislike this solution. Hijacking the
Popovers could use the same treatment, and then they wouldn't have to be limited to the title bar. You could go further and make modal/popover triggers entirely indicated by data attrs, so that you could use a Obviously that would be a breaking change, but IMO a substantial improvement. If desired, I could submit a PR. |
I can only see advantages, so I agree it is an improvement.
|
Same with AngularJS router. |
+1 for @gregates suggestion. |
@juriejan's fix worked perfectly for me too! Thanks! |
Thanks for the feedback. Added backwards compatibility to the PR today. Might be worth testing again. Worked fine for me though. |
I'm using v2.0.2 and the selector for modal is for
a
tags. I'm using router.js for a single page application and it uses links to switch views. The problem is this error is always thrownIt does not change the router.js behavior but I think this is a good thing to have..
Please let me know if you have ideas for the selector name and if this should be done, I'm planning to submit a PR if needed.
The text was updated successfully, but these errors were encountered: