aboutsummaryrefslogtreecommitdiffstats
path: root/res/client.js
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2024-08-15 10:18:38 +0300
committerRblSb <msrblsb@gmail.com>2024-08-15 10:18:38 +0300
commit4c4eacaa87b4a7dc9233eccf4611447dcad6a727 (patch)
treef3966eb67dff5dc7c580d7f34bb94a7e851bc89f /res/client.js
parent4ac52a44ced3691581a1390bbdbdc0906074b3f3 (diff)
Update tab title when kicked
Diffstat (limited to 'res/client.js')
-rw-r--r--res/client.js4
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() {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage