aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/quattro/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/quattro/theme.php')
-rw-r--r--view/theme/quattro/theme.php16
1 files changed, 13 insertions, 3 deletions
diff --git a/view/theme/quattro/theme.php b/view/theme/quattro/theme.php
index 5cb373eef..1c986e4c8 100644
--- a/view/theme/quattro/theme.php
+++ b/view/theme/quattro/theme.php
@@ -42,11 +42,21 @@ function insertFormatting(comment,BBcode,id) {
return true;
}
+function showThread(id) {
+ $("#collapsed-comments-" + id).show()
+ $("#collapsed-comments-" + id + " .collapsed-comments").show()
+}
+function hideThread(id) {
+ $("#collapsed-comments-" + id).hide()
+ $("#collapsed-comments-" + id + " .collapsed-comments").hide()
+}
+
+
function cmtBbOpen(id) {
- $(".comment-edit-bb-" + id).show();
+ $("#comment-edit-bb-" + id).show();
}
-function cmtBbClose(comment, id) {
- $(".comment-edit-bb-" + id).hide();
+function cmtBbClose(id) {
+ $("#comment-edit-bb-" + id).hide();
}
$(document).ready(function() {