Created
April 27, 2016 19:14
-
-
Save akz92/5449e9ef6ae6ec01fbf5bfed1a99b9e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// BOOTSTRAP FIX | |
$(function() { | |
$('body').on("click", "ul.dropdown-menu a[data-remote='true'].no-bootstrap", function(e) { | |
e.stopPropagation(); | |
e.preventDefault(); | |
$(e.target).trigger('click.rails'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment