mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 05:32:25 -06:00
only show folder icons on folders with image thumbnails
This commit is contained in:
parent
e29ef1b4fd
commit
696c709438
|
|
@ -1057,7 +1057,7 @@ tr.play td:nth-child(1) a {
|
||||||
animation: rotate 10s linear infinite;
|
animation: rotate 10s linear infinite;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
html:not(.e) #ggrid>a.dir:before {
|
html:not(.e) #ggrid>a.thumbed.dir:before {
|
||||||
content: '📂';
|
content: '📂';
|
||||||
}
|
}
|
||||||
#ggrid>a.dir>span {
|
#ggrid>a.dir>span {
|
||||||
|
|
|
||||||
|
|
@ -6668,6 +6668,7 @@ var thegrid = (function () {
|
||||||
|
|
||||||
|
|
||||||
function th_onload(el) {
|
function th_onload(el) {
|
||||||
|
clmod(el.parentElement.parentElement, 'thumbed', true)
|
||||||
el.style.position = 'static'
|
el.style.position = 'static'
|
||||||
el.style.opacity = '1'
|
el.style.opacity = '1'
|
||||||
el.style.height = '';
|
el.style.height = '';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue