mirror of https://github.com/zulip/zulip.git
message_list_tooltips: Consistently pass 'target' as 'string' argument.
This commit is contained in:
parent
92c8b89ce2
commit
92ba149f5f
|
@ -266,19 +266,21 @@ export function initialize() {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
message_list_tooltip([".recipient_bar_icon"], {
|
message_list_tooltip(".recipient_bar_icon", {
|
||||||
delay: LONG_HOVER_DELAY,
|
delay: LONG_HOVER_DELAY,
|
||||||
onHidden(instance) {
|
onHidden(instance) {
|
||||||
instance.destroy();
|
instance.destroy();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
message_list_tooltip([".rendered_markdown time", ".rendered_markdown .copy_codeblock"], {
|
message_list_tooltip(".rendered_markdown time, .rendered_markdown .copy_codeblock",
|
||||||
|
{
|
||||||
content: timerender.get_markdown_time_tooltip,
|
content: timerender.get_markdown_time_tooltip,
|
||||||
onHidden(instance) {
|
onHidden(instance) {
|
||||||
instance.destroy();
|
instance.destroy();
|
||||||
},
|
},
|
||||||
});
|
},
|
||||||
|
);
|
||||||
|
|
||||||
message_list_tooltip(".message_inline_image > a > img", {
|
message_list_tooltip(".message_inline_image > a > img", {
|
||||||
// Add a short delay so the user can mouseover several inline images without
|
// Add a short delay so the user can mouseover several inline images without
|
||||||
|
|
Loading…
Reference in New Issue