]> git.mxchange.org Git - friendica.git/commitdiff
fix the buttons. don't hide the buttons once shown
authorSimon L'nu <simon.lnu@gmail.com>
Fri, 20 Apr 2012 10:42:08 +0000 (06:42 -0400)
committerSimon L'nu <simon.lnu@gmail.com>
Fri, 20 Apr 2012 10:42:08 +0000 (06:42 -0400)
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
view/theme/dispy-dark/bottom.tpl
view/theme/dispy-dark/comment_item.tpl
view/theme/dispy/bottom.tpl
view/theme/dispy/comment_item.tpl

index a0298a7de9b746d5fab4653952cd89d8867c1395..130bfb25ae4f3004d79a552ef80e1d3d386f4a2f 100644 (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>
index 371477c5b94dc851b2da7b4a5af826d569c80282..b4fbae5dfaf9fb9c06722827c470a997ea2da595 100644 (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">
index a0298a7de9b746d5fab4653952cd89d8867c1395..130bfb25ae4f3004d79a552ef80e1d3d386f4a2f 100644 (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>
index 371477c5b94dc851b2da7b4a5af826d569c80282..b4fbae5dfaf9fb9c06722827c470a997ea2da595 100644 (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">