X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fhead.tpl;h=722c79441465698acf0debaa8b38bcbb49a46281;hb=cc3617e28626cd5d3b5ecf64764e328589de7584;hp=da6ec1159c5ef49357c3019c2bab1408362271fc;hpb=72e78046afbd1977ff7b5458005cd62471faba0e;p=friendica.git
diff --git a/view/head.tpl b/view/head.tpl
index da6ec1159c..722c794414 100755
--- a/view/head.tpl
+++ b/view/head.tpl
@@ -7,14 +7,14 @@
-
+
@@ -34,14 +34,16 @@
function commentOpen(obj,id) {
if(obj.value == '$comment') {
obj.value = '';
- obj.className = "comment-edit-text-full";
+ $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+ $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
openMenu("comment-edit-submit-wrapper-" + id);
}
}
function commentClose(obj,id) {
if(obj.value == '') {
obj.value = '$comment';
- obj.className="comment-edit-text-empty";
+ $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
+ $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
closeMenu("comment-edit-submit-wrapper-" + id);
}
}