diff options
| author | RblSb <msrblsb@gmail.com> | 2024-08-15 10:18:38 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2024-08-15 10:18:38 +0300 |
| commit | 4c4eacaa87b4a7dc9233eccf4611447dcad6a727 (patch) | |
| tree | f3966eb67dff5dc7c580d7f34bb94a7e851bc89f /res/client.js | |
| parent | 4ac52a44ced3691581a1390bbdbdc0906074b3f3 (diff) | |
Update tab title when kicked
Diffstat (limited to 'res/client.js')
| -rw-r--r-- | res/client.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/client.js b/res/client.js index df2a27d..5bab611 100644 --- a/res/client.js +++ b/res/client.js @@ -1681,6 +1681,8 @@ client_Main.prototype = { case "GetYoutubeVideoInfo": break; case "KickClient": + var tmp = "*" + Lang.get("kicked"); + window.document.title = tmp + "*"; this.disabledReconnection = true; this.ws.close(); break; @@ -2160,7 +2162,7 @@ client_Main.prototype = { this.showScrollToChatEndBtn(); } if(this.onBlinkTab == null) { - this.blinkTabWithTitle("*Chat*"); + this.blinkTabWithTitle("*" + Lang.get("chat") + "*"); } } ,showScrollToChatEndBtn: function() { |
