Fix profile page when use system's font (#4774)

This commit is contained in:
Yamagishi Kazutoshi 2017-09-02 21:01:59 +09:00 committed by Eugen Rochko
parent 15963a15c6
commit 6fd2e8c3c5

View File

@ -34,7 +34,7 @@
= yield :header_tags = yield :header_tags
- body_classes ||= @body_classes - body_classes ||= @body_classes || ''
- body_classes += ' system-font' if current_account&.user&.setting_system_font_ui - body_classes += ' system-font' if current_account&.user&.setting_system_font_ui
%body{ class: add_rtl_body_class(body_classes) } %body{ class: add_rtl_body_class(body_classes) }