[wip] start migrating to ox-hugo
[~bandali/bndl.org] / source / global.js
diff --git a/source/global.js b/source/global.js
deleted file mode 100644 (file)
index f7ecb6b..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-!function(t){
-  t.addEventListener('DOMContentLoaded', function () {
-    var l = t.querySelector('#light-off');
-    if (l !== null) {
-      l.checked = t.cookie.match(/lightOff=true/) !== null;
-      l.addEventListener('change', function () {
-        t.cookie = 'lightOff=' + JSON.stringify(l.checked) + ';path=/';
-      });
-    }
-  })
-}(document);