X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fhead.tpl;h=f861060c77250eba5aaed7345cceccd712ea9184;hb=7093c1b9f6a1dd820b0f5b3cae7a7b2ec3a8bec3;hp=42bd92f4ce497d42d271c9cba19cf4f709be211b;hpb=2bdbdc8d8ef229946e225791801e753a7fd5c695;p=friendica.git diff --git a/view/head.tpl b/view/head.tpl index 42bd92f4ce..f861060c77 100644 --- a/view/head.tpl +++ b/view/head.tpl @@ -89,16 +89,8 @@ $(obj).val(''); } - function showHideComments(id) { - if( $('#collapsed-comments-' + id).is(':visible')) { - $('#collapsed-comments-' + id).hide(); - $('#hide-comments-' + id).html('$showmore'); - } - else { - $('#collapsed-comments-' + id).show(); - $('#hide-comments-' + id).html('$showfewer'); - } - } + window.showMore = "$showmore"; + window.showFewer = "$showfewer"; function showHideCommentBox(id) { if( $('#comment-edit-form-' + id).is(':visible')) {