From e23e6f302af7ac051f989382f1fc8caa7f449c94 Mon Sep 17 00:00:00 2001 From: faebie Date: Sun, 31 Dec 2023 02:54:22 -0800 Subject: [PATCH] Toggle watching focus btn active on click --- assets/chat/js/chat.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/chat/js/chat.js b/assets/chat/js/chat.js index c73c1dd1..07523072 100644 --- a/assets/chat/js/chat.js +++ b/assets/chat/js/chat.js @@ -372,6 +372,7 @@ class Chat { this.ui.on('click touch', '#chat-watching-focus-btn', () => { this.watchingfocus = !this.watchingfocus; this.ui.toggleClass('watching-focus', this.watchingfocus); + this.ui.find('#chat-watching-focus-btn').toggleClass('active'); }); // Chat focus / menu close when clicking on some areas