mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
ie11: fix debounce-untint;
css 'unset' appeared in chr41, ff27 dom.closest appeared in chr41, ff35
This commit is contained in:
parent
4195762d2a
commit
3090c74832
|
@ -8313,7 +8313,7 @@ var treectl = (function () {
|
|||
document.documentElement.scrollLeft = 0;
|
||||
setTimeout(function () {
|
||||
r.gentab(get_evpath(), r.lsc);
|
||||
ebi('wrap').style.opacity = 'unset';
|
||||
ebi('wrap').style.opacity = CLOSEST ? 'unset' : 1;
|
||||
}, 1);
|
||||
};
|
||||
|
||||
|
@ -8466,7 +8466,7 @@ var wfp_debounce = (function () {
|
|||
if (--r.n <= 0) {
|
||||
r.n = 0;
|
||||
clearTimeout(r.t);
|
||||
ebi('wfp').style.opacity = 'unset';
|
||||
ebi('wfp').style.opacity = CLOSEST ? 'unset' : 1;
|
||||
}
|
||||
};
|
||||
r.reset = function () {
|
||||
|
@ -9704,7 +9704,7 @@ window.addEventListener("message", function (e) {
|
|||
el.parentNode.removeChild(el.previousSibling);
|
||||
|
||||
el.style.height = (parseInt(t[2]) + SBH) + 'px';
|
||||
el.style.visibility = 'unset';
|
||||
el.style.visibility = CLOSEST ? 'unset' : 'block';
|
||||
wfp_debounce.show();
|
||||
}
|
||||
else if (t[0] == 'iscroll') {
|
||||
|
|
|
@ -364,7 +364,8 @@ if (!Element.prototype.matches)
|
|||
Element.prototype.mozMatchesSelector ||
|
||||
Element.prototype.webkitMatchesSelector;
|
||||
|
||||
if (!Element.prototype.closest)
|
||||
var CLOSEST = !!Element.prototype.closest;
|
||||
if (!CLOSEST)
|
||||
Element.prototype.closest = function (s) {
|
||||
var el = this;
|
||||
do {
|
||||
|
|
Loading…
Reference in a new issue