Update accountPreferences.js

pull/8029/head
Rodrigo Nascimento 8 years ago committed by GitHub
parent 65c754c25c
commit e66d237e8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/rocketchat-ui-account/client/accountPreferences.js

@ -187,7 +187,6 @@ Template.accountPreferences.onCreated(function() {
data.unreadAlert = $('#unreadAlert').find('input:checked').val();
data.notificationsSoundVolume = parseInt($('#notificationsSoundVolume').val());
data.roomCounterSidebar = $('#roomCounterSidebar').find('input:checked').val();
data.messageCounterSidebar = $('#messageCounterSidebar').find('input:checked').val();
data.highlights = _.compact(_.map($('[name=highlights]').val().split(','), function(e) {
return s.trim(e);
}));

Loading…
Cancel
Save