« get me outta code hell

hide info cards behind localStorage flag for now - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-04-09 13:37:50 -0300
committer(quasar) nebula <towerofnix@gmail.com>2021-04-09 13:38:29 -0300
commitbe920c1086bbb97d06485b5283e500780f64deb3 (patch)
tree3e268b9bf2ff7be5928d245d3ac0c411744f1d61
parentdfd82901f2bc80494c984480ff875200230c0d55 (diff)
hide info cards behind localStorage flag for now
-rw-r--r--static/client.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/static/client.js b/static/client.js
index d2ca95c..1f8d51e 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');
+}