Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
popovers: Rename playground links popover hiding function.
Daniil Fadeevd27448dcecab
diff --git a/web/src/playground_links_popover.js b/web/src/playground_links_popover.jsindex 16c364b3f8b..40ace948946 100644--- a/web/src/playground_links_popover.js+++ b/web/src/playground_links_popover.js@@ -38,7 +38,7 @@ function toggle_playground_links_popover(element, playground_info) {}}-export function hide_playground_links_popover() {+export function hide() {if ($current_playground_links_popover_elem !== undefined) {$current_playground_links_popover_elem.popover("destroy");$current_playground_links_popover_elem = undefined;@@ -78,7 +78,7 @@ function register_click_handlers() {);$("body").on("click", ".popover_playground_link", (e) => {- hide_playground_links_popover();+ hide();e.stopPropagation();});}diff --git a/web/src/popovers.js b/web/src/popovers.jsindex 0cddc93edba..c996f0e3eb8 100644--- a/web/src/popovers.js+++ b/web/src/popovers.js@@ -162,7 +162,7 @@ export function hide_all_except_sidebars(opts) {stream_popover.hide_stream_popover();user_group_popover.hide();user_card_popover.hide_all_user_card_popovers();- playground_links_popover.hide_playground_links_popover();+ playground_links_popover.hide();// look through all the popovers that have been added and removed.for (const $o of list_of_popovers) {