mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 20:42:44 +00:00
Remove duplicate tabs
This commit is contained in:
@@ -176,11 +176,11 @@ const CodeEditor = createClass({
|
|||||||
|
|
||||||
indent : function () {
|
indent : function () {
|
||||||
const cm = this.codeMirror;
|
const cm = this.codeMirror;
|
||||||
if (cm.somethingSelected()) {
|
if (cm.somethingSelected()) {
|
||||||
cm.execCommand('indentMore');
|
cm.execCommand('indentMore');
|
||||||
} else {
|
} else {
|
||||||
cm.execCommand('insertSoftTab');
|
cm.execCommand('insertSoftTab');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
dedent : function () {
|
dedent : function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user