Skip to content

Commit 5d5db6a

Browse files
committed
clear frontend error on code load
1 parent a357c3d commit 5d5db6a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎v3/js/opt-frontend-common.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,8 @@ function setCodeMirrorVal(dat) {
489489
pyInputCodeMirror.setValue(dat.rtrim() /* kill trailing spaces */);
490490
$('#urlOutput,#embedCodeOutput').val('');
491491

492+
clearFrontendError();
493+
492494
// also scroll to top to make the UI more usable on smaller monitors
493495
$(document).scrollTop(0);
494496
}

0 commit comments

Comments
 (0)