fix the buttons. don't hide the buttons once shown

Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
This commit is contained in:
Simon L'nu 2012-04-20 06:42:08 -04:00
parent eb9ddb884a
commit 5d2dd5798b
4 changed files with 2 additions and 14 deletions

View File

@ -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>

View File

@ -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">

View File

@ -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>

View File

@ -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">