Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
popovers: Rename `toggle_playground_link_popover` function.
Daniil Fadeev1782fb6866d2
diff --git a/web/src/playground_links_popover.js b/web/src/playground_links_popover.jsindex 0dd7fc5d31a..16c364b3f8b 100644--- a/web/src/playground_links_popover.js+++ b/web/src/playground_links_popover.js@@ -12,7 +12,7 @@ let $current_playground_links_popover_elem;// Playground_info contains all the data we need to generate a popover of// playground links for each code block. The element is the target element// to pop off of.-function toggle_playground_link_popover(element, playground_info) {+function toggle_playground_links_popover(element, playground_info) {const $last_popover_elem = $current_playground_links_popover_elem;popovers.hide_all();if ($last_popover_elem !== undefined && $last_popover_elem.get()[0] === element) {@@ -72,7 +72,7 @@ function register_click_handlers() {const url_template = url_template_lib.parse($playground.url_template);$playground.playground_url = url_template.expand({code: extracted_code});}- toggle_playground_link_popover(this, playground_info);+ toggle_playground_links_popover(this, playground_info);}},);