dont show emotes when document hidden
This commit is contained in:
parent
bae3b85935
commit
0f40e0119c
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user