Fixed annoying bug
This commit is contained in:
parent
cd899df541
commit
52c1f80d4b
|
@ -33,7 +33,7 @@
|
|||
}, 1000)
|
||||
|
||||
async function initCodeEditor() {
|
||||
$selectedLang = new URLSearchParams(window.location.search).get('l') ?? ' plt'
|
||||
$selectedLang = new URLSearchParams(window.location.search).get('l') ?? 'plt'
|
||||
|
||||
CodeMirror.modeURL = 'https://cdn.jsdelivr.net/npm/codemirror@5.65.16/mode/%N/%N.js'
|
||||
editor = new CodeMirror(byId('editor'), {
|
||||
|
|
Loading…
Reference in New Issue
Block a user