Typos
TheFrenchGhosty TheFrenchGhosty@posteo.is
Tue, 14 Dec 2021 16:28:42 +0100
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
scripts/script.js
→
scripts/script.js
@@ -16,7 +16,7 @@ initModals();
}; const initCodeEditor = () => { - CodeMirror.modeURL = '/scripts/CodeMirror/mode/%N/%N.js'; + CodeMirror.modeURL = './scripts/CodeMirror/mode/%N/%N.js'; editor = new CodeMirror(byId('editor'), { lineNumbers: true, theme: 'dracula',@@ -283,7 +283,7 @@ }
}; if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('/scripts/sw.js'); + navigator.serviceWorker.register('./scripts/sw.js'); } init();