Skip to content

Commit

Permalink
Toggle watching focus btn active on click
Browse files Browse the repository at this point in the history
  • Loading branch information
faebiedev committed Dec 31, 2023
1 parent e6b3c6d commit e23e6f3
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 e23e6f3

Please sign in to comment.