0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Remove duplicate tabs

This commit is contained in:
Trevor Buckner
2023-05-22 22:40:18 -04:00
committed by GitHub
parent 288b407e3e
commit ca34ca499d

View File

@@ -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 () {