app/assets/javascripts/umlaut/simple_visible_toggle.js in umlaut-3.0.4 vs app/assets/javascripts/umlaut/simple_visible_toggle.js in umlaut-3.0.5
- old
+ new
@@ -1,8 +1,8 @@
/* simple_visible_toggle.js. Used for toggling visibility of error information. Can possibly be combined with more powerful expand_contract_toggle.js */
jQuery(document).ready(function($) {
- $("a.simple_visible_toggle").live("click", function() {
+ $(document).on("click", "a.simple_visible_toggle", function() {
$(this).next().toggle();
});
});