diff --git a/view/theme/dispy-dark/bottom.tpl b/view/theme/dispy-dark/bottom.tpl index a0298a7de9..130bfb25ae 100644 --- a/view/theme/dispy-dark/bottom.tpl +++ b/view/theme/dispy-dark/bottom.tpl @@ -42,11 +42,5 @@ function insertFormatting(comment, BBcode, id) { function cmtBbOpen(id) { $(".comment-edit-bb-" + id).show(); - $(".comment-edit-bb-" + id + "> li").css({visibility: 'visible'}); - -} -function cmtBbClose(id) { - $(".comment-edit-bb-" + id).hide(); - $(".comment-edit-bb-" + id + "> li").css({visibility: 'none'}); } diff --git a/view/theme/dispy-dark/comment_item.tpl b/view/theme/dispy-dark/comment_item.tpl index 371477c5b9..b4fbae5dfa 100644 --- a/view/theme/dispy-dark/comment_item.tpl +++ b/view/theme/dispy-dark/comment_item.tpl @@ -42,7 +42,7 @@ class="comment-edit-text-empty" name="body" onfocus="commentOpen(this,$id);tautogrow($id);cmtBbOpen($id);" - onblur="commentClose(this,$id);cmtBbClose($id);" + onblur="commentClose(this,$id);" placeholder="Comment">$comment {{ if $qcomment }}
diff --git a/view/theme/dispy/bottom.tpl b/view/theme/dispy/bottom.tpl index a0298a7de9..130bfb25ae 100644 --- a/view/theme/dispy/bottom.tpl +++ b/view/theme/dispy/bottom.tpl @@ -42,11 +42,5 @@ function insertFormatting(comment, BBcode, id) { function cmtBbOpen(id) { $(".comment-edit-bb-" + id).show(); - $(".comment-edit-bb-" + id + "> li").css({visibility: 'visible'}); - -} -function cmtBbClose(id) { - $(".comment-edit-bb-" + id).hide(); - $(".comment-edit-bb-" + id + "> li").css({visibility: 'none'}); } diff --git a/view/theme/dispy/comment_item.tpl b/view/theme/dispy/comment_item.tpl index 371477c5b9..b4fbae5dfa 100644 --- a/view/theme/dispy/comment_item.tpl +++ b/view/theme/dispy/comment_item.tpl @@ -42,7 +42,7 @@ class="comment-edit-text-empty" name="body" onfocus="commentOpen(this,$id);tautogrow($id);cmtBbOpen($id);" - onblur="commentClose(this,$id);cmtBbClose($id);" + onblur="commentClose(this,$id);" placeholder="Comment">$comment {{ if $qcomment }}