mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
whoops
This commit is contained in:
parent
59ebc795e7
commit
c14b17bfaf
|
@ -941,13 +941,10 @@ var treectl = (function () {
|
|||
else {
|
||||
var wraph = parseInt(getComputedStyle(ebi('wrap').offsetParent).height),
|
||||
top = Math.max(0, parseInt(wrap.offsetTop)),
|
||||
treeh = winh - atop;
|
||||
|
||||
if (treeh < 10)
|
||||
return;
|
||||
treeh = (winh - atop) - 4;
|
||||
|
||||
tree.style.top = top + 'px';
|
||||
tree.style.height = treeh + 'px';
|
||||
tree.style.height = treeh < 10 ? '' : treeh + 'px';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue