Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
deprecated_feature_notice: Make use of autoremove option in open_modal.
Ganesh Pawar72b1d3b5a6d8
diff --git a/static/js/deprecated_feature_notice.js b/static/js/deprecated_feature_notice.jsindex 8adc64009ef..19406254056 100644--- a/static/js/deprecated_feature_notice.js+++ b/static/js/deprecated_feature_notice.js@@ -49,7 +49,7 @@ export function maybe_show_deprecation_notice(key) {$(".app").append(deprecated_feature_notice);- overlays.open_modal("#deprecation-notice-modal");+ overlays.open_modal("#deprecation-notice-modal", true);$("#deprecation-notice-message").text(message);$("#close-deprecation-notice").trigger("focus");shown_deprecation_notices.push(key);@@ -59,9 +59,5 @@ export function maybe_show_deprecation_notice(key) {JSON.stringify(shown_deprecation_notices),);}-- deprecated_feature_notice.on("hidden.bs.modal", () => {- deprecated_feature_notice.remove();- });}}