From ba0ade33801af3bd553f873d7de02a35956d837a Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 25 Apr 2012 00:13:36 -0700 Subject: cleanup - make bb-buttons vanish when comment closed --- view/theme/purplezero/theme.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/theme/purplezero/theme.php') diff --git a/view/theme/purplezero/theme.php b/view/theme/purplezero/theme.php index 9b483db62..4ae9d579f 100644 --- a/view/theme/purplezero/theme.php +++ b/view/theme/purplezero/theme.php @@ -14,7 +14,8 @@ function insertFormatting(comment,BBcode,id) { $("#comment-edit-text-" + id).addClass("comment-edit-text-full"); $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty"); openMenu("comment-edit-submit-wrapper-" + id); - } + $("#comment-edit-text-" + id).val(tmpStr); + } textarea = document.getElementById("comment-edit-text-" +id); if (document.selection) { -- cgit v1.2.3