diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 19a7057a..1d7a5743 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -3915,7 +3915,7 @@ html.e #wrap.thin { padding: .1em 0; margin: .3em; } - a:not(.dir) { + a.img { span { display: none; } diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 2306e066..c638ba6a 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -8417,7 +8417,7 @@ var treectl = (function () { '" rel="nofollow" class="doc' + (lang ? ' bri' : '') + '" hl="' + id + '" name="' + hname + '">-txt-'; - var cl = (/\.PARTIAL$/.exec(fname) ? 'fade' : '') + tn.cls, + var cl = (/\.PARTIAL$/.exec(fname) ? 'fade ' : '') + (img_re.exec(fname) ? 'img ' : '') + tn.cls, ln = ['