mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +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
@@ -44,7 +44,7 @@ exports.toggle = function (opts) {
|
||||
|
||||
function select_tab(idx) {
|
||||
const elem = meta.$ind_tab.eq(idx);
|
||||
if (elem.hasClass('disabled')) {
|
||||
if (elem.hasClass("disabled")) {
|
||||
return;
|
||||
}
|
||||
meta.$ind_tab.removeClass("selected");
|
||||
@@ -106,7 +106,7 @@ exports.toggle = function (opts) {
|
||||
const value = opts.values.find((o) => o.key === name);
|
||||
|
||||
const idx = opts.values.indexOf(value);
|
||||
meta.$ind_tab.eq(idx).addClass('disabled');
|
||||
meta.$ind_tab.eq(idx).addClass("disabled");
|
||||
},
|
||||
|
||||
value: function () {
|
||||
|
||||
Reference in New Issue
Block a user