Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

stream_list: Use delegate instead of default for tippy.

evykassirer76d3bf2532ef
diff --git a/web/src/stream_list.ts b/web/src/stream_list.ts
index be8176be9fe..b2dabaea2be 100644
--- a/web/src/stream_list.ts
+++ b/web/src/stream_list.ts
@@ -851,7 +851,8 @@ export function initialize({
}
export function initialize_tippy_tooltips(): void {
- tippy.default("#stream_filters li .subscription_block .stream-name", {
+ tippy.delegate("body", {
+ target: "#stream_filters li .subscription_block .stream-name",
delay: LONG_HOVER_DELAY,
onShow(instance) {
const stream_id = stream_id_for_elt($(instance.reference).parents("li.narrow-filter"));