popovers: Stop exporting `toggle_playground_link_popover` function.

This function is only used in the `popovers.js` module, so there's no
need to export it.
This commit is contained in:
Daniil Fadeev 2023-09-12 19:32:53 +04:00 committed by Tim Abbott
parent 7bcb868f9a
commit 64f77b1dee
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ export function set_suppress_scroll_hide() {
// Playground_info contains all the data we need to generate a popover of // 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 // playground links for each code block. The element is the target element
// to pop off of. // to pop off of.
export function toggle_playground_link_popover(element, playground_info) { function toggle_playground_link_popover(element, playground_info) {
const $last_popover_elem = $current_playground_links_popover_elem; const $last_popover_elem = $current_playground_links_popover_elem;
hide_all(); hide_all();
if ($last_popover_elem !== undefined && $last_popover_elem.get()[0] === element) { if ($last_popover_elem !== undefined && $last_popover_elem.get()[0] === element) {