X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/ed891db307af229f6179c8613d7017c14a52a570..caf3b78c74be4c0d1e53904aa258fda50e512ef0:/source/global.js diff --git a/source/global.js b/source/global.js deleted file mode 100644 index f7ecb6b..0000000 --- a/source/global.js +++ /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);