app/assets/javascripts/default.js in ideyabox-0.1.11 vs app/assets/javascripts/default.js in ideyabox-0.1.12
- old
+ new
@@ -14,15 +14,15 @@
$('.pagination').hide();
$("ol.sortable ol").hide();
- $('.zebra th a').live('click', function () {
+ $('body').on('click', '.zebra th a', function () {
$.getScript(this.href);
return false;
});
- $('.visibility a, .toggleshow').live('click', function(e){
+ $('body').on('click','.visibility a, .toggleshow', function(e){
e.preventDefault();
$(this).find('i').toggleClass('icon-eye-open').toggleClass('icon-eye-close not-work');
});
\ No newline at end of file