diff --git a/shared/naturalcrit/codeEditor/codeEditor.jsx b/shared/naturalcrit/codeEditor/codeEditor.jsx index 2b3aa0125..d127bfdd8 100644 --- a/shared/naturalcrit/codeEditor/codeEditor.jsx +++ b/shared/naturalcrit/codeEditor/codeEditor.jsx @@ -176,11 +176,11 @@ const CodeEditor = createClass({ indent : function () { const cm = this.codeMirror; - if (cm.somethingSelected()) { - cm.execCommand('indentMore'); - } else { - cm.execCommand('insertSoftTab'); - } + if (cm.somethingSelected()) { + cm.execCommand('indentMore'); + } else { + cm.execCommand('insertSoftTab'); + } }, dedent : function () {