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