all repos — NoPaste @ de062991ccdf763b2091f26873047685f9c0c977

Resurrected - The PussTheCat.org fork of NoPaste

Typos
TheFrenchGhosty TheFrenchGhosty@posteo.is
Tue, 14 Dec 2021 16:28:42 +0100
commit

de062991ccdf763b2091f26873047685f9c0c977

parent

5c12c8a8f515faa64a6cd1d3f04d9aa60561322d

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M scripts/script.jsscripts/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();