diff options
-rw-r--r-- | view/theme/dispy-dark/bottom.tpl | 6 | ||||
-rw-r--r-- | view/theme/dispy-dark/comment_item.tpl | 2 | ||||
-rw-r--r-- | view/theme/dispy/bottom.tpl | 6 | ||||
-rw-r--r-- | view/theme/dispy/comment_item.tpl | 2 |
4 files changed, 2 insertions, 14 deletions
diff --git a/view/theme/dispy-dark/bottom.tpl b/view/theme/dispy-dark/bottom.tpl index a0298a7de..130bfb25a 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'}); } </script> diff --git a/view/theme/dispy-dark/comment_item.tpl b/view/theme/dispy-dark/comment_item.tpl index 371477c5b..b4fbae5df 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</textarea> {{ if $qcomment }} <div class="qcomment-wrapper"> diff --git a/view/theme/dispy/bottom.tpl b/view/theme/dispy/bottom.tpl index a0298a7de..130bfb25a 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'}); } </script> diff --git a/view/theme/dispy/comment_item.tpl b/view/theme/dispy/comment_item.tpl index 371477c5b..b4fbae5df 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</textarea> {{ if $qcomment }} <div class="qcomment-wrapper"> |