« get me outta code hell

cover art bug fixes - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2020-11-23 14:34:28 -0400
committer(quasar) nebula <towerofnix@gmail.com>2020-11-23 14:34:28 -0400
commitbf2ae11314abd73acdbcc9e4bd5b22ed59aae3c7 (patch)
tree187f3edbd70f48a894bacd99d0162ec57d7049c1 /upd8.js
parent372681e748f88f8f31f7845d6f0c6f160d0eed96 (diff)
cover art bug fixes
Diffstat (limited to 'upd8.js')
-rw-r--r--upd8.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js
index 2a3cbac..34e97d8 100644
--- a/upd8.js
+++ b/upd8.js
@@ -1866,7 +1866,10 @@ async function writeFlashPage(flash) {
         main: {
             content: fixWS`
                 <h1>${flash.name}</h1>
-                <a id="cover-art" href="${getFlashCover(flash)}"><img src="${getFlashCover(flash)}" alt="cover art"></a>
+                ${generateCoverLink({
+                    src: getFlashCover(flash),
+                    alt: 'cover art'
+                })}
                 <p>Released ${getDateString(flash)}.</p>
                 ${(flash.page || flash.urls.length) && `<p>Play on ${joinNoOxford(
                     [