summaryrefslogtreecommitdiff
path: root/public/js/calendar.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/calendar.js')
-rw-r--r--public/js/calendar.js2
1 files changed, 1 insertions, 1 deletions
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-'))