limit gallery view name hiding to image files

This commit is contained in:
Til Schmitter 2026-05-04 13:20:53 +02:00
parent 52357ca666
commit 4e5651b958
2 changed files with 2 additions and 2 deletions

View file

@ -3915,7 +3915,7 @@ html.e #wrap.thin {
padding: .1em 0;
margin: .3em;
}
a:not(.dir) {
a.img {
span {
display: none;
}

View file

@ -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)];