]> git.mxchange.org Git - friendica.git/blobdiff - view/head.tpl
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
[friendica.git] / view / head.tpl
index cd6f5ca972e97564fc78148d02571650ab4d8c9e..dfb626ebc9c36dcdd5fdce91d02b44efb224d850 100644 (file)
@@ -36,6 +36,7 @@
                        obj.value = '';
                        $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
                        $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+                       $("#mod-cmnt-wrap-" + id).show();
                        openMenu("comment-edit-submit-wrapper-" + id);
                }
        }
@@ -44,6 +45,7 @@
                        obj.value = '$comment';
                        $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
                        $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
+                       $("#mod-cmnt-wrap-" + id).hide();
                        closeMenu("comment-edit-submit-wrapper-" + id);
                }
        }
@@ -79,6 +81,7 @@
                ins = ins.replace('&','&');
                ins = ins.replace('"','"');
                $("#comment-edit-text-" + id).val(tmpStr + ins);
+               $(obj).val('');
        }
 
        function showHideComments(id) {