mirror of
https://github.com/9001/copyparty.git
synced 2025-08-19 01:42:20 -06:00
add tooltip delay to android too
This commit is contained in:
parent
be7bb71bbc
commit
e3d7f0c7d5
|
@ -1206,13 +1206,13 @@ var tt = (function () {
|
||||||
r.th.style.top = (e.pageY + 12 * sy) + 'px';
|
r.th.style.top = (e.pageY + 12 * sy) + 'px';
|
||||||
};
|
};
|
||||||
|
|
||||||
if (IPHONE) {
|
if (TOUCH) {
|
||||||
var f1 = r.show,
|
var f1 = r.show,
|
||||||
f2 = r.hide,
|
f2 = r.hide,
|
||||||
q = [];
|
q = [];
|
||||||
|
|
||||||
// if an onclick-handler creates a new timer,
|
// if an onclick-handler creates a new timer,
|
||||||
// iOS 13.1.2 delays the entire handler by up to 401ms,
|
// webkits delay the entire handler by up to 401ms,
|
||||||
// win by using a shared timer instead
|
// win by using a shared timer instead
|
||||||
|
|
||||||
timer.add(function () {
|
timer.add(function () {
|
||||||
|
|
Loading…
Reference in a new issue