diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 24a3a477..01ac339a 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -1657,6 +1657,7 @@ html.b #music { #mu_th img { opacity: 0; margin: 0 auto; + position: absolute; } #mu_tn { display: block; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index bea1d43e..d6131b1c 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -3888,7 +3888,7 @@ function play(tid, is_ev, seek) { afilt.apply(); // popup player - ebi('mu_tn').innerHTML = tname.replace(/\..*$/, ''); + ebi('mu_tn').innerHTML = tname.replace(/\.[0-9a-z]+$/i, ''); var m_ext = tname.match(/[^\.]*$/); if(m_ext){ QS('#mu_th>svg').style.color = intToHSL(hashCode(m_ext[0]))