mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 10:03:56 +00:00
compose_control_buttons: Convert titles to tooltips.
This commit is contained in:
@@ -61,4 +61,14 @@ export function initialize() {
|
||||
// that when the reaction is hidden, tooltip hides as well.
|
||||
appendTo: (reference) => reference,
|
||||
});
|
||||
|
||||
delegate("body", {
|
||||
target: ".compose_control_button",
|
||||
content: (reference) => reference.getAttribute("title"),
|
||||
placement: "top",
|
||||
// Add some additional delay when they open
|
||||
// so that regular users don't have to see
|
||||
// them unless they want to.
|
||||
delay: [300, 20],
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user