]> git.mxchange.org Git - friendica.git/blobdiff - view/head.tpl
CommentBox is now hidden by default, this can be toggled with a fake link
[friendica.git] / view / head.tpl
index 8a75a4b8e0bf1ecb0900b8b1895f37c02f2a337d..e5495b329f159d24d1c60692844208651488a843 100644 (file)
                }
        }
 
+       function showHideCommentBox(id) {
+               if( $('#comment-edit-form-' + id).is(':visible')) {
+                       $('#comment-edit-form-' + id).hide();
+               }
+               else {
+                       $('#comment-edit-form-' + id).show();
+               }
+       }
+
 
 </script>