compose_control_buttons: Convert titles to tooltips.

This commit is contained in:
Aman Agrawal
2021-04-15 10:57:12 +00:00
committed by Tim Abbott
parent 7772ef187e
commit 1a525be3a3

View File

@@ -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],
});
}