Allow dismissing note previews on touch devices by tapping on them
This commit is contained in:
parent
34b0d6fc40
commit
2009a591d6
@ -104,6 +104,14 @@
|
||||
hideTooltip();
|
||||
});
|
||||
|
||||
linkElement.addEventListener('touchend', function(_event) {
|
||||
hideTooltip();
|
||||
});
|
||||
|
||||
tooltipWrapper.addEventListener('touchend', function(_event) {
|
||||
hideTooltip();
|
||||
});
|
||||
|
||||
linkElement.addEventListener('mouseenter', function(event) {
|
||||
clearTimeout(opacityTimeout);
|
||||
clearTimeout(contentTimeout);
|
||||
|
Loading…
x
Reference in New Issue
Block a user