mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +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
@@ -6,7 +6,7 @@
|
||||
|
||||
exports.message = function (response, status_box, cls, remove_after) {
|
||||
if (cls === undefined) {
|
||||
cls = 'alert';
|
||||
cls = "alert";
|
||||
}
|
||||
|
||||
// Note we use html() below, since we can rely on our callers escaping HTML
|
||||
@@ -33,11 +33,11 @@ exports.error = function (response, xhr, status_box, remove_after) {
|
||||
}
|
||||
}
|
||||
|
||||
exports.message(response, status_box, 'alert-error', remove_after);
|
||||
exports.message(response, status_box, "alert-error", remove_after);
|
||||
};
|
||||
|
||||
exports.success = function (response, status_box, remove_after) {
|
||||
exports.message(response, status_box, 'alert-success', remove_after);
|
||||
exports.message(response, status_box, "alert-success", remove_after);
|
||||
};
|
||||
|
||||
exports.generic_embed_error = function (error) {
|
||||
|
||||
Reference in New Issue
Block a user