Merge pull request #5128 from tobiasd/20180525-5067
[friendica.git/.git] / view / theme / frost / js / acl.js
index 401a524..1eb758b 100644 (file)
@@ -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);