changeset 931:756c99e27d4f draft

Posting with Meta-Enter changed to Ctrl-Enter
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 16 Feb 2021 09:26:15 +0900
parents 1221335459c6
children fd0237210542
files s4-main.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-main.js	Tue Jan 19 16:12:14 2021 +0900
+++ b/s4-main.js	Tue Feb 16 09:26:15 2021 +0900
@@ -505,7 +505,7 @@
     }
     function helpMarkdownEnter(e) {
 	if (e.keyCode == 13 && !e.shiftKey) {
-	    if (e.metaKey && submitThisForm(e.target)) {
+	    if (e.ctrlKey && submitThisForm(e.target)) {
 		e.preventDefault();
 		return;
 	    }

yatex.org