summaryrefslogtreecommitdiff
path: root/app/views/javascript/main.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/javascript/main.phtml')
-rw-r--r--app/views/javascript/main.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtml
index b77e25c83..4f049e11d 100644
--- a/app/views/javascript/main.phtml
+++ b/app/views/javascript/main.phtml
@@ -130,9 +130,9 @@ function init_posts () {
$(".flux:not(.active) .content").hide ();
}
- $(".flux .flux_header").click (function () {
+ $(".flux_header .item.title, .flux_header .item.date").click (function () {
old_active = $(".flux.active");
- new_active = $(this).parent ();
+ new_active = $(this).parent ().parent ();
toggleContent (new_active, old_active);
});