Browse Source

Restore oops.gif animation for user who have auto_play_gif set

closed-social-glitch-2
Thibaut Girka 5 years ago
committed by ThibG
parent
commit
e8d5affe06
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/layouts/error.html.haml

+ 1
- 1
app/views/layouts/error.html.haml View File

@ -9,6 +9,6 @@
= render partial: 'layouts/theme', object: (@theme || { pack: 'common', flavour: 'glitch', skin: 'default' }) = render partial: 'layouts/theme', object: (@theme || { pack: 'common', flavour: 'glitch', skin: 'default' })
%body.error %body.error
.dialog .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 %div
%h1= yield :content %h1= yield :content

Loading…
Cancel
Save