[Glitch] Emoji: Fix autoplay incorrectly being applied
Port 7530f06deea63a03e0ca05f777f0f1582372c305 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
614dd00457
commit
be5c1cceea
@ -63,7 +63,7 @@ export const AnimateEmojiProvider = polymorphicForwardRef<
|
||||
|
||||
// If there's a parent context or GIFs autoplay, we don't need handlers.
|
||||
const parentContext = useContext(AnimateEmojiContext);
|
||||
if (parentContext !== null || autoPlayGif === true) {
|
||||
if (parentContext !== null) {
|
||||
return (
|
||||
<Wrapper
|
||||
{...props}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user