diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index b9e090c39..6f9ce517f 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -107,7 +107,7 @@ const Editor = createClass({ if(this.state.view === 'text') { const codeMirror = this.refs.codeEditor.codeMirror; - codeMirror.operation(() => { // Batch CodeMirror styling + codeMirror.operation(()=>{ // Batch CodeMirror styling //reset custom text styles const customHighlights = codeMirror.getAllMarks().filter((mark)=>!mark.__isFold); //Don't undo code folding for (let i=customHighlights.length - 1;i>=0;i--) customHighlights[i].clear();