From 7bf7050cdcd3de42c8e95a953a11afdd6c7acd45 Mon Sep 17 00:00:00 2001 From: mrilyew <99399973+mrilyew@users.noreply.github.com> Date: Fri, 23 May 2025 21:43:10 +0300 Subject: [PATCH] feat(tips): add delay --- Web/static/js/al_mentions.js | 1 + Web/static/js/al_wall.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Web/static/js/al_mentions.js b/Web/static/js/al_mentions.js index d324cca6..595b04b9 100644 --- a/Web/static/js/al_mentions.js +++ b/Web/static/js/al_mentions.js @@ -23,6 +23,7 @@ tippy.delegate("body", { target: '.mention', theme: "light vk", content: "⌛", + delay: 300, allowHTML: true, interactive: true, interactiveDebounce: 500, diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js index 6568ba51..1f6c0902 100644 --- a/Web/static/js/al_wall.js +++ b/Web/static/js/al_wall.js @@ -825,6 +825,7 @@ tippy.delegate("body", { target: '.client_app', theme: "light vk", content: "⌛", + delay: 400, allowHTML: true, interactive: true, interactiveDebounce: 500, @@ -864,6 +865,7 @@ tippy.delegate('body', { target: `.post-like-button[data-type]:not([data-likes="0"])`, theme: "special vk", content: "⌛", + delay: 400, allowHTML: true, interactive: true, interactiveDebounce: 500,