summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-04-05 15:04:04 -0300
committerChristian Franke <nobody@nowhere.ws>2016-04-05 15:04:04 -0300
commitecea7612279a24b5bff1a9827fbb317b5c192e3e (patch)
tree9e21c7016dc3f92b9b25b574a992abcbca238482
parent4d82c726c39ebca56bde30665f00d728c2d7a20b (diff)
Fix new javascript
-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-'))