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) {