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

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-11-16 14:20:29 -08:00 committed by Tim Abbott
parent 044f65a052
commit a8bc7ceb15
1 changed files with 3 additions and 3 deletions

View File

@ -152,9 +152,9 @@ export function initialize() {
delay: EXTRA_LONG_HOVER_DELAY,
appendTo: () => document.body,
onShow(instance) {
const $container = instance.popper.querySelector(".views-tooltip-container");
if ($($container).data("view-code") === user_settings.web_home_view) {
$($container).find(".views-tooltip-home-view-note").removeClass("hide");
const container = instance.popper.querySelector(".views-tooltip-container");
if ($(container).data("view-code") === user_settings.web_home_view) {
$(container).find(".views-tooltip-home-view-note").removeClass("hide");
}
},
onHidden(instance) {