mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
dont show emotes when document hidden
This commit is contained in:
@@ -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