mirror of https://github.com/zulip/zulip.git
send_button: Suppress Send tooltip on tabbing to send.
This commit is contained in:
parent
eeea5c1713
commit
9f99235368
|
@ -317,6 +317,10 @@ export function initialize() {
|
|||
delegate("body", {
|
||||
target: "#compose-send-button",
|
||||
delay: EXTRA_LONG_HOVER_DELAY,
|
||||
// By default, tippyjs uses a trigger value of "mouseenter focus",
|
||||
// but by specifying "mouseenter", this will prevent showing the
|
||||
// Send tooltip when tabbing to the Send button.
|
||||
trigger: "mouseenter",
|
||||
appendTo: () => document.body,
|
||||
onShow(instance) {
|
||||
if (user_settings.enter_sends) {
|
||||
|
|
Loading…
Reference in New Issue