From a8eb0bf44fe2ec77e9db58b2a602188392f2fc6c Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 23 Dec 2017 19:48:31 -0800 Subject: Reduce motion for boost animation (#5871) * Reduce motion for boost animation Fixes #5833 * Fix ternary expression --- app/views/layouts/application.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views') diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index ee995c987..c0e01da30 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -28,6 +28,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 -- cgit