From 7e4edb8cc2352551799b07677eeef7543b73bf88 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Tue, 12 May 2026 00:16:22 +0200 Subject: [PATCH] music modal image loading fixed? --- copyparty/web/browser.css | 1 + copyparty/web/browser.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 0b0bf3db..3f520927 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -1664,6 +1664,7 @@ html.b #music { opacity: 0; margin: 0 auto; position: absolute; + max-width: 100%; } #mu_tn { display: block; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 3d2a262f..e0158663 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -3918,7 +3918,7 @@ function play(tid, is_ev, seek) { try{ var gridimg = QS('a[ref=' + t_tr.childNodes[1].firstChild.id + '] img') - set_loaded(ebi('mu_th'), false); + set_loaded(QS('#mu_th img'), false); QS('#mu_th>img').setAttribute('src', gridimg.src.replace(/th=.*(&|$)/, 'th=wf3&')); } catch(ex){