From 94cf7df954231e5ad12b3cb69afb96b07fb3aa00 Mon Sep 17 00:00:00 2001 From: Sorin Davidoi Date: Sun, 18 Aug 2019 19:29:03 +0200 Subject: [PATCH] fix(components/media): Autoplay and blurhash (#1400) Fixes https://github.com/nolanlawson/pinafore/issues/1399. --- src/routes/_components/status/Media.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/_components/status/Media.html b/src/routes/_components/status/Media.html index e0d70ce6..4be5e6ac 100644 --- a/src/routes/_components/status/Media.html +++ b/src/routes/_components/status/Media.html @@ -43,7 +43,7 @@ title={description} on:mouseover="set({mouseover: event})" style="width: {inlineWidth}px; height: {inlineHeight}px;"> - {#if type === 'gifv' && $autoplayGifs} + {#if type === 'gifv' && $autoplayGifs && !blurhash} - {:elseif type === 'gifv' && !$autoplayGifs} + {:elseif type === 'gifv'}