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

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-01-11 17:48:21 -05:00
committed by Anders Kaseorg
parent 43e53d9b9d
commit be13557ead

View File

@@ -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",