Skip to content

Commit 42890fe

Browse files
committed
minor
1 parent 26a0e84 commit 42890fe

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎v3/js/opt-office-mix.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ function enterOPTEditCodeMode() {
180180
// https://groups.google.com/forum/#!msg/ace-discuss/TQHqey_NkBg/q9x_tLrvsXoJ
181181
pyInputAceEditor.resize(); // weird hack that's necessary to refresh the editor's latest text values. #weird
182182

183+
setAceMode(); // for syntax coloring
184+
183185
saveCurrentConfiguration();
184186
}
185187

@@ -451,7 +453,4 @@ $(document).ready(function() {
451453
Labs.on(Labs.Core.EventTypes.Deactivate, function() {
452454
});
453455
});
454-
455-
456-
setAceMode(); // do this at the end
457456
});

0 commit comments

Comments
 (0)