summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web_src/js/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 93b27483be..c56abdde88 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -1525,6 +1525,7 @@ function setSimpleMDE($editArea) {
},
]
});
+ $(simpleMDEditor.codemirror.getInputField()).addClass('js-quick-submit');
return true;
}
@@ -1556,6 +1557,7 @@ function setCommentSimpleMDE($editArea) {
},
]
});
+ $(simplemde.codemirror.getInputField()).addClass('js-quick-submit');
simplemde.codemirror.setOption('extraKeys', {
Enter: () => {
if (!(issuesTribute.isActive || emojiTribute.isActive)) {