mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
settings: Fix incorrect elements used for emojiset loading spinner.
We were using emojiset_spinner element in destroy_indicator, but there is no such element and emoji-settings-status element is used in make_indicator, so destroy_indicator should also use the same element. This was added originally in6cb03ea78e(though in a different file) and was removed for sometime and then readded ine7311cdf5d. But between these two commits, the setting was changed to be a radio element and thus the spinner elements were also changed.
This commit is contained in:
@@ -177,7 +177,7 @@ export async function report_emojiset_change() {
|
||||
await emojisets.select(user_settings.emojiset);
|
||||
|
||||
if ($("#emoji-settings-status").length) {
|
||||
loading.destroy_indicator($("#emojiset_spinner"));
|
||||
loading.destroy_indicator($("#emoji-settings-status"));
|
||||
$("#emojiset_select").val(user_settings.emojiset);
|
||||
ui_report.success(
|
||||
$t_html({defaultMessage: "Emojiset changed successfully!"}),
|
||||
|
||||
Reference in New Issue
Block a user