Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Fix the sticky behavior of saving indicator.

Sahil Batra6e169be933cb
diff --git a/static/js/settings_ui.js b/static/js/settings_ui.js
index 8f45ad137d7..a23668ced61 100644
--- a/static/js/settings_ui.js
+++ b/static/js/settings_ui.js
@@ -37,7 +37,7 @@ export function do_settings_change(
const spinner = $(status_element).expectOne();
spinner.fadeTo(0, 1);
loading.make_indicator(spinner, {text: strings.saving});
- const remove_after = sticky ? null : 1000;
+ const remove_after = sticky ? undefined : 1000;
const appear_after = 500;
request_method({