about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-05-10 05:58:37 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:23 -0500
commit24a59d8f58a55e5903496c7773184dba737f4a9a (patch)
treea2a02a036597d5595fcf4ff9d760b2da48e3eb4b /app/views/layouts
parent47a251048c7b236a667195591a0db02b9e0f6745 (diff)
Correct a 6-in-the-morning breaking typos.
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index f01329914..2f66532c5 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -37,7 +37,7 @@
     - if Setting.custom_css.present?
       = stylesheet_link_tag custom_css_path, media: 'all'
 
-    - if current_account.user_hides_color_formatting?
+    - if current_account&.user_hides_color_formatting?
       :css
         .status__content p > span,
         .reply-indicator__content p > span,
@@ -46,20 +46,20 @@
         .account__header__fields p > span
         { color: inherit !important }
 
-    - if current_account.user_hides_captions?
+    - if current_account&.user_hides_captions?
       :css
         div .media-caption,
         span .caption
         { display: none }
 
-    - if current_account.user_wants_larger_menus?
+    - if current_account&.user_wants_larger_menus?
       :css
         .dropdown-menu__item a
         { padding: 14px 14px !important; font-size: 14px !important }
         .dropdown--active .dropdown__content > ul > li > a
         { padding: 14px 0 !important; font-size: 14px !important }
 
-    - if current_account.user_wants_larger_buttons?
+    - if current_account&.user_wants_larger_buttons?
       :css
         .drawer { min-width: 350px !important }
         .status__action-bar .icon-button,
@@ -73,15 +73,15 @@
           margin-right: 24px;
         }
 
-    - if current_account.user_wants_larger_drawer?
+    - if current_account&.user_wants_larger_drawer?
       :css
         .drawer { min-width: 400px !important }
 
-    - if current_account.user_hides_filtered_gap?
+    - if current_account&.user_hides_filtered_gap?
       :css
         .status__wrapper--filtered { display: none !important; }
 
-    - if current_account.user_hides_mascot?
+    - if current_account&.user_hides_mascot?
       :css
         .drawer__inner__mastodon>img { display: none !important }