mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
js: Fix a bunch of indentation issues found by eslint.
This is preparation for enabling an eslint indentation configuration. 90% of these changes are just fixes for indentation errors that have snuck into the codebase over the years; the others are more significant reformatting to make eslint happy (that are not otherwise actually improvements). The one area that we do not attempt to work on here is the "switch/case" indentation.
This commit is contained in:
@@ -192,8 +192,9 @@ $(function () {
|
||||
// Scroll to place the message within the current view;
|
||||
// but if this is the initial placement of the pointer,
|
||||
// just place it in the very center
|
||||
message_viewport.recenter_view(row, {from_scroll: event.from_scroll,
|
||||
force_center: event.previously_selected === -1});
|
||||
message_viewport.recenter_view(row,
|
||||
{from_scroll: event.from_scroll,
|
||||
force_center: event.previously_selected === -1});
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -205,17 +206,17 @@ $(function () {
|
||||
timerender.set_full_datetime(message, time_elem);
|
||||
});
|
||||
|
||||
$('#streams_header h4').tooltip({ placement: 'right',
|
||||
animation: false });
|
||||
$('#streams_header h4').tooltip({placement: 'right',
|
||||
animation: false});
|
||||
|
||||
$('#streams_header i[data-toggle="tooltip"]').tooltip({ placement: 'left',
|
||||
animation: false });
|
||||
$('#streams_header i[data-toggle="tooltip"]').tooltip({placement: 'left',
|
||||
animation: false});
|
||||
|
||||
$('#userlist-header #userlist-title').tooltip({ placement: 'right',
|
||||
animation: false });
|
||||
$('#userlist-header #userlist-title').tooltip({placement: 'right',
|
||||
animation: false});
|
||||
|
||||
$('#userlist-header #user_filter_icon').tooltip({ placement: 'left',
|
||||
animation: false });
|
||||
$('#userlist-header #user_filter_icon').tooltip({placement: 'left',
|
||||
animation: false});
|
||||
|
||||
$('.message_failed i[data-toggle="tooltip"]').tooltip();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user