Skip to content

Commit f7199ee

Browse files
author
Bot
committed
remove debug code
1 parent 3ffd216 commit f7199ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/CodeEditor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ export default {
490490
},
491491
onUnFocus(_, ev) {
492492
if (ev) {
493-
if (!DEV) ev.preventDefault(); // dev
493+
if (DEV) ev.preventDefault();
494494
if (!this.isCompleted && this.popUpText !== 'Try again' && ev) {
495495
if (DEV) this.cm.focus();
496496
if (ev.relatedTarget !== null) {
@@ -501,7 +501,7 @@ export default {
501501
}
502502
} else {
503503
// eslint-disable-next-line no-lonely-if
504-
if (DEV) this.popUp(true, 'Resume'); // dev
504+
if (!DEV) this.popUp(true, 'Resume');
505505
}
506506
}
507507
}

0 commit comments

Comments
 (0)