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.

playground_links_popover: Remove wrong $ prefix for non-jQuery variable.

Anders Kaseorgbe13557eadcb
diff --git a/web/src/playground_links_popover.js b/web/src/playground_links_popover.js
index aa7f4bab969..1422ae6ba9a 100644
--- a/web/src/playground_links_popover.js
+++ b/web/src/playground_links_popover.js
@@ -103,9 +103,9 @@ function register_click_handlers() {
url_template.expand({code: extracted_code}),
);
} else {
- for (const $playground of playground_info) {
- const url_template = url_template_lib.parse($playground.url_template);
- $playground.playground_url = url_template.expand({code: extracted_code});
+ for (const playground of playground_info) {
+ const url_template = url_template_lib.parse(playground.url_template);
+ playground.playground_url = url_template.expand({code: extracted_code});
}
const popover_target = $view_in_playground_button.find(
".playground-links-popover-container",