share/views/public/js/_ellipsis.js in rbbt-rest-1.1.5 vs share/views/public/js/_ellipsis.js in rbbt-rest-1.2.0
- old
+ new
@@ -48,15 +48,13 @@
elem.html(unescape(html));
}
update_rbbt();
}
-register_dom_update('a.open_ellipsis', function(link){
- link.click(function(){
- var link = $(this);
- var span = link.parent('span');
- var container = span.parent();
- restore_ellipsis(container);
-
- return(false);
- })
+$('body').on('click', 'a.open_ellipsis', function(link){
+ var link = $(this);
+ var span = link.parent('span');
+ var container = span.parent();
+ restore_ellipsis(container);
+
+ return(false);
})