mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 13:42:29 -06:00
fix tree causing scrollbar to appear when it shouldn't
This commit is contained in:
parent
741ad0495c
commit
db864b921d
|
|
@ -7078,7 +7078,8 @@ var treectl = (function () {
|
||||||
treeh = winh - atop;
|
treeh = winh - atop;
|
||||||
|
|
||||||
tree.style.top = top + 'px';
|
tree.style.top = top + 'px';
|
||||||
tree.style.height = treeh < 10 ? '' : Math.floor(treeh) + 'px';
|
// setting the height causes scrollbars to appear often because it's not exact most of the time
|
||||||
|
tree.style.height = '';// = treeh < 10 ? '' : Math.floor(treeh) + 'px';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
timer.add(onscroll2, true);
|
timer.add(onscroll2, true);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue