diff options
| author | RblSb <msrblsb@gmail.com> | 2021-12-11 14:01:49 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2021-12-11 14:01:49 +0300 |
| commit | 3873224e8b764e4507fb127603314ed5412ead81 (patch) | |
| tree | 629eafa0da9d15dab2c0c790abd5a85a271f582b /res | |
| parent | a26840d84a815abe1ee7d40245602e6537e55f4e (diff) | |
Disable auto-leader on mobile devices
Diffstat (limited to 'res')
| -rw-r--r-- | res/client.js | 3 |
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; |
