From a8bc7ceb15c7e3f3285d86a378d40ad994f508d4 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 16 Nov 2023 14:20:29 -0800 Subject: [PATCH] tippyjs: Remove wrong $ prefix for non-jQuery variable. Signed-off-by: Anders Kaseorg --- web/src/tippyjs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/tippyjs.js b/web/src/tippyjs.js index 3071e90cda..f7e4c2cc83 100644 --- a/web/src/tippyjs.js +++ b/web/src/tippyjs.js @@ -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) {