mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
stream_list: Use delegate instead of default for tippy.
This commit is contained in:
parent
6820cbb980
commit
76d3bf2532
@ -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"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user