aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Main.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-05-23 22:33:44 +0300
committerRblSb <msrblsb@gmail.com>2020-05-23 22:33:44 +0300
commit5b94c5cc110f9367b844a622aa0ef4aabef34750 (patch)
tree495d14c2041959fe859957fb9ab96d80fffa03be /src/client/Main.hx
parent45080aa1f6d80f2ef64983904acbe1645c312d25 (diff)
Scroll to chat end on input touch
Diffstat (limited to 'src/client/Main.hx')
-rw-r--r--src/client/Main.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx
index 7e3a3be..527b898 100644
--- a/src/client/Main.hx
+++ b/src/client/Main.hx
@@ -156,7 +156,7 @@ class Main {
ge("#ce_queue_next").onclick = e -> addIframe(false);
ge("#ce_queue_end").onclick = e -> addIframe(true);
ge("#customembed-title").onkeydown = (e:KeyboardEvent) -> {
- if (e.keyCode == 13) {
+ if (e.keyCode == KeyCode.Return) {
addIframe(true);
e.preventDefault();
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage