diff --git a/assets/chat/css/style.scss b/assets/chat/css/style.scss index 1ab60de8..e5e7b19c 100644 --- a/assets/chat/css/style.scss +++ b/assets/chat/css/style.scss @@ -1717,18 +1717,18 @@ hr { .pref-autocompletehelper #chat-auto-complete.active { display: block; } -.pref-disableemoteanimations .emote { - &, - &:hover, - &:before, - &:after { +.pref-disableanimations { + .emote, + .emote:hover, + .emote::before, + .emote::after { animation: none !important; } -} -.pref-disableflairanimations a.user, -.pref-disableflairanimations span.user { - animation: none !important; + a.user, + span.user { + animation: none !important; + } } /* OverlayScrollbars theme */ diff --git a/assets/chat/js/const.js b/assets/chat/js/const.js index 833d1198..2e7ef903 100644 --- a/assets/chat/js/const.js +++ b/assets/chat/js/const.js @@ -133,8 +133,7 @@ const settingsdefault = new Map( hidensfl: false, fontscale: 'auto', censorbadwords: false, - disableemoteanimations: false, - disableflairanimations: false, + disableanimations: false, }), ); diff --git a/assets/views/embed.html b/assets/views/embed.html index 9aa3b33c..f8227d49 100644 --- a/assets/views/embed.html +++ b/assets/views/embed.html @@ -148,15 +148,9 @@