mirror of https://github.com/zulip/zulip.git
tippyjs: Remove wrong $ prefix for non-jQuery variable.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
044f65a052
commit
a8bc7ceb15
|
@ -152,9 +152,9 @@ export function initialize() {
|
||||||
delay: EXTRA_LONG_HOVER_DELAY,
|
delay: EXTRA_LONG_HOVER_DELAY,
|
||||||
appendTo: () => document.body,
|
appendTo: () => document.body,
|
||||||
onShow(instance) {
|
onShow(instance) {
|
||||||
const $container = instance.popper.querySelector(".views-tooltip-container");
|
const container = instance.popper.querySelector(".views-tooltip-container");
|
||||||
if ($($container).data("view-code") === user_settings.web_home_view) {
|
if ($(container).data("view-code") === user_settings.web_home_view) {
|
||||||
$($container).find(".views-tooltip-home-view-note").removeClass("hide");
|
$(container).find(".views-tooltip-home-view-note").removeClass("hide");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onHidden(instance) {
|
onHidden(instance) {
|
||||||
|
|
Loading…
Reference in New Issue