aboutsummaryrefslogtreecommitdiffstats
path: root/res
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 /res
parenta26840d84a815abe1ee7d40245602e6537e55f4e (diff)
Disable auto-leader on mobile devices
Diffstat (limited to 'res')
-rw-r--r--res/client.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/client.js b/res/client.js
index 529ff48..5ad7ebf 100644
--- a/res/client.js
+++ b/res/client.js
@@ -1733,6 +1733,9 @@ client_Main.prototype = {
}
,setConfig: function(config) {
this.config = config;
+ if(client_Utils.isTouch()) {
+ config.requestLeaderOnPause = false;
+ }
this.pageTitle = config.channelName;
window.document.querySelector("#guestname").maxLength = config.maxLoginLength;
window.document.querySelector("#chatline").maxLength = config.maxMessageLength;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage