From 58879a49a406d6ba3cd040b2f97f856474338744 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 26 Aug 2022 21:24:24 +0200 Subject: [PATCH] testing on prod --- files/assets/js/chat.js | 2 ++ files/templates/chat.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index 27bf255ebb..170cbb7b6d 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -120,6 +120,8 @@ function quote(t) { } textbox.addEventListener("keyup", function(e) { + console.log(e.shiftKey) + console.log(e.key) if (!e.shiftKey && e.key === 'Enter') { e.preventDefault(); send() diff --git a/files/templates/chat.html b/files/templates/chat.html index e707013a71..510430838b 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -214,6 +214,6 @@ - + \ No newline at end of file