From 6ddff7317d88ece92912eff44fa6fbfa753e0d98 Mon Sep 17 00:00:00 2001
From: Andreas Hubel
Date: Thu, 12 Oct 2017 11:43:10 +0200
Subject: schedule: bugfix for new tab order

---
 assets/js/lustiges-script.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'assets/js')

diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index 3af4250..c14de15 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -211,7 +211,7 @@ $(function() {
 		clearInterval(updateInterval);
 	}
 
-	if(window.location.hash == '#schedule' || window.location.href.indexOf('/schedule') != -1)
+	if(window.location.hash == '' || window.location.hash == '#schedule' || window.location.href.indexOf('/schedule') != -1)
 		on();
 
 	// trigger when a tab was changed
-- 
cgit v1.2.3