Skip to content

Commit 7b5b65d

Browse files
committed
Fix type of editors dict
1 parent c52d947 commit 7b5b65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/public/js/domjudge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ const disableButton = (btn) => {
13081308
btn.ariaDisabled=true;
13091309
}
13101310

1311-
const editors = [];
1311+
const editors = {};
13121312
function initDiffEditor(editorId) {
13131313
const wrapper = $(`#${editorId}-wrapper`);
13141314

0 commit comments

Comments
 (0)