aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-04-20 06:42:08 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-04-20 06:42:08 -0400
commit5d2dd5798bcb8d9b100f0a19b822b0477c546160 (patch)
treefe7082a2f5e50a999093cd38c095494b3cf41e52 /view/theme
parenteb9ddb884a9fa2c9a1cc351830e953cf477a3a40 (diff)
downloadvolse-hubzilla-5d2dd5798bcb8d9b100f0a19b822b0477c546160.tar.gz
volse-hubzilla-5d2dd5798bcb8d9b100f0a19b822b0477c546160.tar.bz2
volse-hubzilla-5d2dd5798bcb8d9b100f0a19b822b0477c546160.zip
fix the buttons. don't hide the buttons once shown
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/dispy-dark/bottom.tpl6
-rw-r--r--view/theme/dispy-dark/comment_item.tpl2
-rw-r--r--view/theme/dispy/bottom.tpl6
-rw-r--r--view/theme/dispy/comment_item.tpl2
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">