From 359076563b886636b40d1f6d159cd7658b4f18ca Mon Sep 17 00:00:00 2001 From: yukirij Date: Sun, 29 Sep 2024 12:24:16 -0700 Subject: [PATCH] Remove badge on logout; fix use of old turn term. --- www/js/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/js/ui.js b/www/js/ui.js index 9c4305a..c55f824 100644 --- a/www/js/ui.js +++ b/www/js/ui.js @@ -170,6 +170,7 @@ const UI = { if(sessionStorage.getItem("auth") !== null) { bottom.push(UI.button(LANG("account"), () => { })); bottom.push(UI.button(LANG("logout"), () => { + BADGE_UPDATE(false); MESSAGE_COMPOSE([ PACK.u16(OpCode.Deauthenticate), ]); @@ -296,7 +297,7 @@ const UI = { } let tbody = UI.table_content( - [ LANG("handle"), LANG("turn"), LANG("viewers"), "" ], + [ LANG("handle"), LANG("turns"), LANG("viewers"), "" ], rows, );