compose_box: Extend use of send-control-button.

This uses `.send-control-button` to handle Tippies on those
elements (currently vdots and Drafts), and removes a confusing
compose-formatting class.
This commit is contained in:
Karl Stolley 2023-11-14 08:51:47 -06:00 committed by Tim Abbott
parent 5bedbb14b4
commit 3201c7dfb5
2 changed files with 2 additions and 2 deletions

View File

@ -461,7 +461,7 @@ export function initialize() {
});
delegate("body", {
target: "#send_later",
target: ".send-control-button",
delay: LONG_HOVER_DELAY,
placement: "top",
appendTo: () => document.body,

View File

@ -85,7 +85,7 @@
<div class="drag"></div>
<div id="message-send-controls-container">
<a id="compose-drafts-button" role="button" class="compose_control_button send-control-button hide-sm" tabindex=0 href="#drafts" data-tooltip-template-id="compose_draft_tooltip_template">
<a id="compose-drafts-button" role="button" class="send-control-button hide-sm" tabindex=0 href="#drafts" data-tooltip-template-id="compose_draft_tooltip_template">
{{t 'Drafts' }}
</a>
<span id="compose-limit-indicator"></span>