mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
fix treepar
This commit is contained in:
parent
77cf85cdc7
commit
9ab86e9c63
|
|
@ -1967,6 +1967,8 @@ html {
|
|||
overflow-y: hidden;
|
||||
}
|
||||
#treepar {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
background: #fff;
|
||||
background: var(--tree-bg);
|
||||
left: -.96em;
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
<div id="treesuperh">
|
||||
<a href="/" id="srv_name"><span id="favico_onpage"></span>{{ srv_name }}</a>
|
||||
<div id="treeh"></div>
|
||||
<ul class="ntree" id="treepar"></ul>
|
||||
</div>
|
||||
<ul class="ntree" id="treepar"></ul>
|
||||
<ul id="docul"></ul>
|
||||
<ul class="ntree" id="treeul"></ul>
|
||||
<div id="thx_ff"> </div>
|
||||
|
|
|
|||
|
|
@ -7962,7 +7962,7 @@ var treectl = (function () {
|
|||
compy();
|
||||
}
|
||||
|
||||
if (!r.parpane || !r.pdir.length || y >= r.pdir.slice(-1)[0][0] || y <= r.pdir[0][0]) {
|
||||
if (!r.parpane || !r.pdir.length) {
|
||||
clmod(parp, 'off', 1);
|
||||
r.pdirh = null;
|
||||
}
|
||||
|
|
@ -7986,11 +7986,7 @@ var treectl = (function () {
|
|||
for (var a = 0, aa = els.length; a < aa; a++)
|
||||
els[a].onclick = bad_proxy;
|
||||
}
|
||||
y = ebi('treeh').offsetHeight;
|
||||
if (!fixedpos)
|
||||
y += tree.offsetTop - yscroll();
|
||||
|
||||
y = (y - 3) + 'px';
|
||||
y = ebi('treesuperh').offsetHeight + 'px';
|
||||
if (parp.style.top != y)
|
||||
parp.style.top = y;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue