mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
alright fine apple you win
This commit is contained in:
parent
8e55551a06
commit
13373426fe
|
@ -624,7 +624,7 @@ var tt = (function () {
|
||||||
if (x < 0)
|
if (x < 0)
|
||||||
x = 8;
|
x = 8;
|
||||||
|
|
||||||
if (x + tw > window.innerWidth) {
|
if (x + tw >= window.innerWidth - 8) {
|
||||||
if (x <= 8)
|
if (x <= 8)
|
||||||
r.tt.style.maxWidth = (window.innerWidth - 16) + 'px';
|
r.tt.style.maxWidth = (window.innerWidth - 16) + 'px';
|
||||||
else
|
else
|
||||||
|
@ -653,10 +653,10 @@ var tt = (function () {
|
||||||
f2 = r.hide;
|
f2 = r.hide;
|
||||||
|
|
||||||
r.show = function () {
|
r.show = function () {
|
||||||
setTimeout(f1.bind(this), 101);
|
setTimeout(f1.bind(this), 401);
|
||||||
};
|
};
|
||||||
r.hide = function () {
|
r.hide = function () {
|
||||||
setTimeout(f2.bind(this), 101);
|
setTimeout(f2.bind(this), 401);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue