Skip to content

Commit

Permalink
Regression: Fix hide avatars in side bar preference (#15709)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchoeler authored and ggazzo committed Oct 31, 2019
1 parent 8bbc9cc commit 7461a1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/ui-account/client/accountPreferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ <h1>{{_ "Messages"}}</h1>
<div class="input-line double-col" id="sidebarHideAvatar">
<label class="setting-label">{{_ "Hide_Avatars_Sidebar"}}</label>
<div class="setting-field">
<label><input type="radio" name="sidebarHideAvatar" value="true" checked="{{checked 'hideAvatars' true}}"/> {{_ "True"}}</label>
<label><input type="radio" name="sidebarHideAvatar" value="false" checked="{{checked 'hideAvatars' false}}"/> {{_ "False"}}</label>
<label><input type="radio" name="sidebarHideAvatar" value="true" checked="{{checked 'sidebarHideAvatar' true}}"/> {{_ "True"}}</label>
<label><input type="radio" name="sidebarHideAvatar" value="false" checked="{{checked 'sidebarHideAvatar' false}}"/> {{_ "False"}}</label>
</div>
</div>
<div class="input-line double-col" id="messageViewMode">
Expand Down
2 changes: 1 addition & 1 deletion app/ui-account/client/accountPreferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7461a1f

Please sign in to comment.