Skip to content

Commit

Permalink
Toggle watching focus btn active on click (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
faebiedev authored Jan 8, 2024
1 parent 0c76a5f commit 7aef5a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/chat/js/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7aef5a6

Please sign in to comment.