From d75be6dbe6b4fa062cf44fdcc92fe3290f322d40 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 9 May 2013 21:43:06 -0700 Subject: more jquery migration --- js/acl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/acl.js') diff --git a/js/acl.js b/js/acl.js index 3eb6a65a4..629a55447 100644 --- a/js/acl.js +++ b/js/acl.js @@ -21,8 +21,8 @@ function ACL(backend_url, preset){ /*events*/ that.showall.click(that.on_showall); - $(".acl-button-show").live('click', that.on_button_show); - $(".acl-button-hide").live('click', that.on_button_hide); + $(document).on('click','.acl-button-show',that.on_button_show); + $(document).on('click','.acl-button-hide',that.on_button_hide); $("#acl-search").keypress(that.on_search); $("#acl-wrapper").parents("form").submit(that.on_submit); -- cgit v1.2.3