summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/static')
-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;
}