aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2021-12-11 14:01:49 +0300
committerRblSb <msrblsb@gmail.com>2021-12-11 14:01:49 +0300
commit3873224e8b764e4507fb127603314ed5412ead81 (patch)
tree629eafa0da9d15dab2c0c790abd5a85a271f582b /src/client
parenta26840d84a815abe1ee7d40245602e6537e55f4e (diff)
Disable auto-leader on mobile devices
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Main.hx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx
index 96d9ad0..079ff50 100644
--- a/src/client/Main.hx
+++ b/src/client/Main.hx
@@ -615,6 +615,7 @@ class Main {
function setConfig(config:Config):Void {
this.config = config;
+ if (Utils.isTouch()) config.requestLeaderOnPause = false;
pageTitle = config.channelName;
final login:InputElement = cast ge("#guestname");
login.maxLength = config.maxLoginLength;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage