about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorJenkins <jenkins@jenkins.ninjawedding.org>2017-12-24 15:17:12 +0000
committerJenkins <jenkins@jenkins.ninjawedding.org>2017-12-24 15:17:12 +0000
commitf77c47d01b9584b5f429e2bbf56ed602593b7a8a (patch)
treeb29a73e703727c96e6671e257b806413e8c9ea88 /app/views
parent6d00ca1c718e32ff3e4106cd06042f047c24e908 (diff)
parentcafe27fb29a5fbdd9edb08e94a7e47db8eadaf43 (diff)
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'app/views')
-rwxr-xr-xapp/views/layouts/application.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 20603678b..5b9e652cb 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -34,6 +34,7 @@
 
   - body_classes ||= @body_classes || ''
   - body_classes += ' system-font' if current_account&.user&.setting_system_font_ui
+  - body_classes += current_account&.user&.setting_reduce_motion ? ' reduce-motion' : ' no-reduce-motion'
 
   %body{ class: add_rtl_body_class(body_classes) }
     = content_for?(:content) ? yield(:content) : yield