diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 4f0153f0..51b77b76 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -2089,7 +2089,7 @@ var mpl = (function () { r.set_mu_cv = function() { var o = QS('#music.vis #mu_th>img'); - if (o) { + if (o && r.cover) { var url = r.cover.slice(0, -1) + 'wf3'; set_loaded(o, false); @@ -9456,7 +9456,7 @@ var settheme = (function () { var html = [], cb = ebi('themes'), itheme = ax.indexOf(theme[0]) * 2 + (light ? 1 : 0), - names = ['flat dark', 'flat light', 'fancy dark', 'fancy light', 'vice', 'hotdog stand', 'hacker', 'hi-con', 'phi95 dark', 'phi95']; + names = ['flat dark', 'flat light', 'fancy dark', 'fancy light', 'vice', 'hotdog stand', 'hacker', 'hi-con', 'phi95 dark', 'phi95', ]; for (var a = 0; a < themes; a++) html.push(''.format(a, names[a] || 'custom'));