1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-06-05 22:09:25 +02:00

remove manual "no javascript" switch

This was a stupid checkbox made only as an experiment. The page can
still be loaded without JavaScript and works, no need to trigger it
manually.
This commit is contained in:
Ondřej Synáček
2020-07-17 22:33:57 +02:00
parent f577fb6385
commit cf41deedd9
4 changed files with 17 additions and 42 deletions

View File

@ -1,7 +1,3 @@
const noJS = () => {
return Boolean(document.querySelector("#nojs").checked)
}
const useStorage = () => Boolean(window.localStorage)
// NOTE: Generate random IDs: https://stackoverflow.com/a/2117523/3056783
@ -28,7 +24,6 @@ const parseStartTimeFromiCalString = (text = '') => {
}
export {
noJS,
uuidv4,
parseStartTimeFromiCalString,
useStorage,