From: Thibaut Girka Date: Tue, 18 Dec 2018 22:15:30 +0000 (+0100) Subject: Restore oops.gif animation for user who have auto_play_gif set X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=e8d5affe067a07c58853a14623857b68a0e65c09;p=mastodon.git Restore oops.gif animation for user who have auto_play_gif set --- diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml index c9afbb5c8..d662d85e2 100644 --- a/app/views/layouts/error.html.haml +++ b/app/views/layouts/error.html.haml @@ -9,6 +9,6 @@ = render partial: 'layouts/theme', object: (@theme || { pack: 'common', flavour: 'glitch', skin: 'default' }) %body.error .dialog - %img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/ + %img{ alt: Setting.default_settings['site_title'], src: current_user&.setting_auto_play_gif ? '/oops.gif' : '/oops.png' }/ %div %h1= yield :content