Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tippy: Use `data-view-code` to check atttribute.
Aman Agrawalb1eef20fd5e5
diff --git a/web/src/tippyjs.ts b/web/src/tippyjs.tsindex 73ef576d727..89cab4968a0 100644--- a/web/src/tippyjs.ts+++ b/web/src/tippyjs.ts@@ -230,7 +230,7 @@ export function initialize(): void {appendTo: () => document.body,onShow(instance) {const $container = $(instance.popper).find(".views-tooltip-container");- if ($container.data("view-code") === user_settings.web_home_view) {+ if ($container.attr("data-view-code") === user_settings.web_home_view) {$container.find(".views-tooltip-home-view-note").removeClass("hide");}