mirror of
https://github.com/9001/copyparty.git
synced 2026-06-22 05:53:29 -06:00
addition to last commit
This commit is contained in:
parent
aff5004a41
commit
3a356893ee
|
|
@ -7792,7 +7792,7 @@ var treectl = (function () {
|
||||||
// wait for animation to finish (.15s), then set display to none if width still 0
|
// wait for animation to finish (.15s), then set display to none if width still 0
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
onresize();
|
onresize();
|
||||||
}, 150);
|
}, 170);
|
||||||
};
|
};
|
||||||
|
|
||||||
function unmenter() {
|
function unmenter() {
|
||||||
|
|
@ -7880,7 +7880,7 @@ var treectl = (function () {
|
||||||
|
|
||||||
function onresize(e) {
|
function onresize(e) {
|
||||||
if (!entreed || r.hidden){
|
if (!entreed || r.hidden){
|
||||||
if(ebi('tree').style.width <= 0)
|
if(ebi('tree').style.width == '0px')
|
||||||
ebi('tree').style.display = 'none';
|
ebi('tree').style.display = 'none';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue