mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
limit gallery view name hiding to image files
This commit is contained in:
parent
52357ca666
commit
4e5651b958
|
|
@ -3915,7 +3915,7 @@ html.e #wrap.thin {
|
|||
padding: .1em 0;
|
||||
margin: .3em;
|
||||
}
|
||||
a:not(.dir) {
|
||||
a.img {
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8417,7 +8417,7 @@ var treectl = (function () {
|
|||
'" rel="nofollow" class="doc' + (lang ? ' bri' : '') +
|
||||
'" hl="' + id + '" name="' + hname + '">-txt-</a>';
|
||||
|
||||
var cl = (/\.PARTIAL$/.exec(fname) ? 'fade' : '') + tn.cls,
|
||||
var cl = (/\.PARTIAL$/.exec(fname) ? 'fade ' : '') + (img_re.exec(fname) ? 'img ' : '') + tn.cls,
|
||||
ln = ['<tr class="' + cl + '"><td>' + tn.lead + '</td><td><a href="' +
|
||||
top + tn.href + '" id="' + id + '">' + hname +
|
||||
'</a></td><td sortv="' + tn.sz + '">' + filesizefun(tn.sz)];
|
||||
|
|
|
|||
Loading…
Reference in a new issue