diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-12-18 23:15:30 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-12-19 20:49:58 +0100 |
commit | e8d5affe067a07c58853a14623857b68a0e65c09 (patch) | |
tree | 8fa797ed66667be7bc3cffb441ea53425aefc89f | |
parent | 0c2d48b60af9e7fb3b2fcc54d1f4e706d2242e0e (diff) |
Restore oops.gif animation for user who have auto_play_gif set
-rw-r--r-- | app/views/layouts/error.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |