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 },
|
{ state, getters, mutations },
|
||||||
{
|
{
|
||||||
newEmote(store, emote: Emote) {
|
newEmote(store, emote: Emote) {
|
||||||
if (accessor.settings.ignore_emotes) {
|
if (accessor.settings.ignore_emotes || document.visibilityState === 'hidden') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user