mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +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:
@@ -178,7 +178,8 @@ function create_stream() {
|
||||
|
||||
loading.make_indicator($('#stream_creating_indicator'), {text: i18n.t('Creating stream...')});
|
||||
|
||||
ajaxSubscribeForCreation(stream_name,
|
||||
ajaxSubscribeForCreation(
|
||||
stream_name,
|
||||
description,
|
||||
principals,
|
||||
is_invite_only,
|
||||
@@ -408,10 +409,11 @@ exports.set_up_handlers = function () {
|
||||
|
||||
container.on("mouseover", "#announce-stream-docs", function (e) {
|
||||
var announce_stream_docs = $("#announce-stream-docs");
|
||||
announce_stream_docs.popover({placement: "right",
|
||||
content: templates.render('announce_stream_docs', {
|
||||
notifications_stream: page_params.notifications_stream}),
|
||||
trigger: "manual"});
|
||||
announce_stream_docs.popover({
|
||||
placement: "right",
|
||||
content: templates.render('announce_stream_docs', {
|
||||
notifications_stream: page_params.notifications_stream}),
|
||||
trigger: "manual"});
|
||||
announce_stream_docs.popover('show');
|
||||
announce_stream_docs.data('popover').tip().css('z-index', 2000);
|
||||
announce_stream_docs.data('popover').tip().find('.popover-content').css('margin', '9px 14px');
|
||||
|
||||
Reference in New Issue
Block a user