aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
authorGravatar makc2016-09-14 14:41:43 +0200
committerGravatar makc2016-09-14 14:41:43 +0200
commitf39d2f07a411094f538255b35cd97f4be29a7288 (patch)
treefb74458022ff7690301f21ae179ec68bf2179c46 /juick-www
parent5a14a313d6bc70f821e1bd513d025109a5c15906 (diff)
fix the fix when it has unfolding link
Diffstat (limited to 'juick-www')
-rw-r--r--juick-www/src/main/static/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index a5f7c4c0..91ea8bda 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -80,7 +80,7 @@ function wsShutdown() {
function isTreeMode() {
// relies on UserThread.printReplies implementation TODO keep this in cookie or something
- return document.querySelector('.title2-right a').href.match(/\?view=(\w+)/)[1] == 'list';
+ return document.querySelector('.title2-right > a').href.match(/\?view=(\w+)/)[1] == 'list';
}
function wsIncomingReply(msg) {