mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-08-03 19:38:36 -04:00
Reduce mouseout reset delay
This commit is contained in:
parent
51a5e61b47
commit
ce7248920b
@ -6998,7 +6998,7 @@ function addListenersToLink (a, href, baseUrl) {
|
||||
a.addEventListener('mouseout', function (e) {
|
||||
if (a.dataset.touchevoked === 'true') return;
|
||||
uiUtil.removeKiwixPopoverDivs(e.target.ownerDocument);
|
||||
setTimeout(reset, 1400);
|
||||
setTimeout(reset, 1000);
|
||||
});
|
||||
a.addEventListener('focus', function (e) {
|
||||
setTimeout(function () { // Delay focus event so touchstart can fire first
|
||||
|
Loading…
x
Reference in New Issue
Block a user