mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
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:
parent
5bedbb14b4
commit
3201c7dfb5
@ -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,
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user