mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user