mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-02 10:52:41 +02:00
dont show emotes when document hidden
This commit is contained in:
parent
bae3b85935
commit
0f40e0119c
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export const actions = actionTree(
|
|||
{ state, getters, mutations },
|
||||
{
|
||||
newEmote(store, emote: Emote) {
|
||||
if (accessor.settings.ignore_emotes) {
|
||||
if (accessor.settings.ignore_emotes || document.visibilityState === 'hidden') {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue