summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/gl_form.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/gl_form.js b/app/assets/javascripts/gl_form.js
index f0a315287e6..3c257026fce 100644
--- a/app/assets/javascripts/gl_form.js
+++ b/app/assets/javascripts/gl_form.js
@@ -189,6 +189,9 @@ export default class GLForm {
event.preventDefault();
this.indentHelper.newline();
});
+ this.mousetrap.bind('backspace', () => {
+ this.indentHelper.backspace();
+ });
}
setupUndoShortcuts() {