X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrost-mobile%2Fjs%2Ftheme.js;h=3c0db8fbf9ea5c5db237998368e365d6576d6445;hb=f076d7f0dc3619604872c48f41f66e3fa4c4af79;hp=e9024cf5a3d80c9f6d3b35c2eb25806f893692ed;hpb=04f14d96c679d1732993252d137515ad38c4b41f;p=friendica.git diff --git a/view/theme/frost-mobile/js/theme.js b/view/theme/frost-mobile/js/theme.js index e9024cf5a3..3c0db8fbf9 100644 --- a/view/theme/frost-mobile/js/theme.js +++ b/view/theme/frost-mobile/js/theme.js @@ -49,7 +49,7 @@ $j(document).ready(function() { } } - if(typeof acl=="undefined"){ + if(typeof window.aclInit !="undefined" && typeof acl=="undefined"){ acl = new ACL( baseurl+"/acl", [ window.allowCID,window.allowGID,window.denyCID,window.denyGID ] @@ -533,17 +533,6 @@ function qCommentInsert(obj,id) { $j(obj).val(""); } -function showHideComments(id) { - if( $j("#collapsed-comments-" + id).is(":visible")) { - $j("#collapsed-comments-" + id).hide(); - $j("#hide-comments-" + id).html(window.showMore); - } - else { - $j("#collapsed-comments-" + id).show(); - $j("#hide-comments-" + id).html(window.showFewer); - } -} - /*function showHideCommentBox(id) { if( $j('#comment-edit-form-' + id).is(':visible')) { $j('#comment-edit-form-' + id).hide();