From ecea7612279a24b5bff1a9827fbb317b5c192e3e Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 5 Apr 2016 15:04:04 -0300 Subject: Fix new javascript --- public/js/calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/js/calendar.js b/public/js/calendar.js index 8818c99..6f8eae0 100644 --- a/public/js/calendar.js +++ b/public/js/calendar.js @@ -13,7 +13,7 @@ $(function() { }).next().hide(); $('.tabcal-cell a').each(function(i,a) { var hashpos = a.href.indexOf('#'); - if (haspos < 0) + if (hashpos < 0) return true; var hash = a.href.slice(hashpos); if (!hash.startsWith('#event-')) -- cgit v1.2.1