X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fhead.tpl;h=7b1ed7de933460fd5be48a19da6a9e6f3be9a220;hb=720a44bb0b64e281b52ea1cf8c77344a5bea31f9;hp=e5495b329f159d24d1c60692844208651488a843;hpb=f3b1391501361c3745743e23a8bfabe8fc06c1bf;p=friendica.git
diff --git a/view/head.tpl b/view/head.tpl
index e5495b329f..7b1ed7de93 100644
--- a/view/head.tpl
+++ b/view/head.tpl
@@ -1,13 +1,18 @@
-
-
+{##}
+
+
+
+
+
+
-
-
+{##}
+
@@ -39,7 +44,9 @@
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
$("#mod-cmnt-wrap-" + id).show();
openMenu("comment-edit-submit-wrapper-" + id);
+ return true;
}
+ return false;
}
function commentClose(obj,id) {
if(obj.value == '') {
@@ -48,7 +55,9 @@
$("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
$("#mod-cmnt-wrap-" + id).hide();
closeMenu("comment-edit-submit-wrapper-" + id);
+ return true;
}
+ return false;
}
@@ -85,16 +94,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')) {