mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 11:03:54 +00:00
js: Normalize strings to double quotes.
Prettier would do this anyway, but it’s separated out for a more reviewable diff. Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
06691e1e45
commit
f3726db89a
@@ -12,7 +12,7 @@ $(() => {
|
||||
// Display loading indicator. This disappears after the first
|
||||
// get_events completes.
|
||||
if (!page_params.needs_tutorial) {
|
||||
loading.make_indicator($('#page_loading_indicator'), {text: 'Loading...', abs_positioned: true});
|
||||
loading.make_indicator($("#page_loading_indicator"), {text: "Loading...", abs_positioned: true});
|
||||
}
|
||||
|
||||
// This is an issue fix where in jQuery v3 the result of outerHeight on a node
|
||||
@@ -38,7 +38,7 @@ $(() => {
|
||||
}
|
||||
});
|
||||
|
||||
if (typeof $ !== 'undefined') {
|
||||
if (typeof $ !== "undefined") {
|
||||
$.fn.expectOne = function () {
|
||||
if (blueslip && this.length !== 1) {
|
||||
blueslip.error("Expected one element in jQuery set, " + this.length + " found");
|
||||
|
||||
Reference in New Issue
Block a user