« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--static/client.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/static/client.js b/static/client.js
index d2ca95cc..1f8d51ed 100644
--- a/static/client.js
+++ b/static/client.js
@@ -403,4 +403,11 @@ function addInfoCardLinkHandlers(type) {
     }
 }
 
-addInfoCardLinkHandlers('track');
+// Info cards are disa8led for now since they aren't quite ready for release,
+// 8ut you can try 'em out 8y setting this localStorage flag!
+//
+//     localStorage.tryInfoCards = true;
+//
+if (localStorage.tryInfoCards) {
+    addInfoCardLinkHandlers('track');
+}