mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +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
@@ -2,7 +2,7 @@
|
||||
// dependencies other than jQuery.
|
||||
|
||||
exports.change_tab_to = function (tabname) {
|
||||
$('#gear-menu a[href="' + tabname + '"]').tab('show');
|
||||
$('#gear-menu a[href="' + tabname + '"]').tab("show");
|
||||
};
|
||||
|
||||
// https://stackoverflow.com/questions/4233265/contenteditable-set-caret-at-the-end-of-the-text-cross-browser
|
||||
@@ -54,7 +54,7 @@ exports.decorate_stream_bar = function (stream_name, element, is_compose) {
|
||||
if (is_compose) {
|
||||
update_lock_icon_for_stream(stream_name);
|
||||
}
|
||||
element.css('background-color', color)
|
||||
element.css("background-color", color)
|
||||
.removeClass(stream_color.color_classes)
|
||||
.addClass(stream_color.get_color_class(color));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user