aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/quattro/theme.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-11 18:54:23 -0700
committerfriendica <info@friendica.com>2012-08-11 18:54:23 -0700
commite80d69d25b816cda36e2c772db2805f2dc744bbe (patch)
tree1b5f9f40061639d41b22591ae29491964934dc05 /view/theme/quattro/theme.php
parentcac2d408329c8ad0f2f7faed07c4615be12acdf5 (diff)
downloadvolse-hubzilla-e80d69d25b816cda36e2c772db2805f2dc744bbe.tar.gz
volse-hubzilla-e80d69d25b816cda36e2c772db2805f2dc744bbe.tar.bz2
volse-hubzilla-e80d69d25b816cda36e2c772db2805f2dc744bbe.zip
merge upstream
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() {