From: hauke Date: Mon, 15 Sep 2014 17:48:17 +0000 (+0200) Subject: bug fix: live function is deprecated X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=76535578ba1a2a3ad23db00b3010fec859b3b573;p=friendica.git bug fix: live function is deprecated --- diff --git a/view/theme/frost-mobile/js/acl.js b/view/theme/frost-mobile/js/acl.js index c3b6092f30..4ce8b869c3 100644 --- a/view/theme/frost-mobile/js/acl.js +++ b/view/theme/frost-mobile/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);