summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static/js/hyperkitty.js
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-06-05 18:29:45 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-06-05 18:29:45 +0200
commite41cd396f324186115ae315d282b7f14a7ded7e3 (patch)
tree7a63069607a86024994166963c776bc66e179545 /hyperkitty/static/js/hyperkitty.js
parent70b9094a3c82660912bf9de5911ebceaa05bb1d9 (diff)
downloadhyperkitty-e41cd396f324186115ae315d282b7f14a7ded7e3.tar.gz
hyperkitty-e41cd396f324186115ae315d282b7f14a7ded7e3.tar.xz
hyperkitty-e41cd396f324186115ae315d282b7f14a7ded7e3.zip
Open the last month menu on the overview page
Diffstat (limited to 'hyperkitty/static/js/hyperkitty.js')
-rw-r--r--hyperkitty/static/js/hyperkitty.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/static/js/hyperkitty.js b/hyperkitty/static/js/hyperkitty.js
index 3d695b9..90d94c8 100644
--- a/hyperkitty/static/js/hyperkitty.js
+++ b/hyperkitty/static/js/hyperkitty.js
@@ -486,7 +486,7 @@ function update_last_views(base_url) {
function setup_months_list() {
var current = $("#months-list li.current").parent().prev();
if (!current.length) {
- current = false; // overview or search
+ current = 0; // overview or search
} else {
current = current.prevAll("h3").length;
}