]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/head.tpl
Merge pull request #573 from oohlaf/fixes
[friendica.git] / view / theme / dispy / head.tpl
index 3d1701b29eb42fa9a0e2b3c55cbb0cd5fa375d69..027c5d37236cae9a103315ac7ce2b669aff924c0 100644 (file)
                $(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')) {