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:
parent
eb9ddb884a
commit
5d2dd5798b
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user