From 900a21603d0c10f5197110764020f9f29f7cef7f Mon Sep 17 00:00:00 2001 From: Martin Schoeler Date: Thu, 31 Oct 2019 10:54:58 -0300 Subject: [PATCH] Fix hide avatars in side bar preference --- app/ui-account/client/accountPreferences.html | 4 ++-- app/ui-account/client/accountPreferences.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/ui-account/client/accountPreferences.html b/app/ui-account/client/accountPreferences.html index 1bf035d4edd2..4b1ded75dd7b 100644 --- a/app/ui-account/client/accountPreferences.html +++ b/app/ui-account/client/accountPreferences.html @@ -240,8 +240,8 @@

{{_ "Messages"}}

- - + +
diff --git a/app/ui-account/client/accountPreferences.js b/app/ui-account/client/accountPreferences.js index 62b03f21d4a6..35c148a70d79 100644 --- a/app/ui-account/client/accountPreferences.js +++ b/app/ui-account/client/accountPreferences.js @@ -167,7 +167,7 @@ Template.accountPreferences.onCreated(function() { data.messageViewMode = parseInt($('#messageViewMode').find('select').val()); data.hideFlexTab = JSON.parse($('#hideFlexTab').find('input:checked').val()); data.hideAvatars = JSON.parse($('#hideAvatars').find('input:checked').val()); - data.sidebarHideAvatars = JSON.parse($('#sidebarHideAvatars').find('input:checked').val()); + data.sidebarHideAvatar = JSON.parse($('#sidebarHideAvatar').find('input:checked').val()); data.sendOnEnter = $('#sendOnEnter').find('select').val(); data.autoImageLoad = JSON.parse($('input[name=autoImageLoad]:checked').val()); data.emailNotificationMode = $('select[name=emailNotificationMode]').val();