From 3201c7dfb50b4f3907db1691dfaef0cfc4edd99b Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Tue, 14 Nov 2023 08:51:47 -0600 Subject: [PATCH] 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. --- web/src/tippyjs.js | 2 +- web/templates/compose.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/tippyjs.js b/web/src/tippyjs.js index b5090ba3e9..dd06d15774 100644 --- a/web/src/tippyjs.js +++ b/web/src/tippyjs.js @@ -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, diff --git a/web/templates/compose.hbs b/web/templates/compose.hbs index 7019e636f7..a2ba2eeba5 100644 --- a/web/templates/compose.hbs +++ b/web/templates/compose.hbs @@ -85,7 +85,7 @@
- + {{t 'Drafts' }}