« get me outta code hell

refactor/tweak getGridHTML to use link() fns - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2021-12-31 21:16:59 -0400
committer(quasar) nebula <qznebula@protonmail.com>2021-12-31 21:16:59 -0400
commit5b1418b417c2bac641a8671e7da5cf02aefa6245 (patch)
treedba642ee9fbcb6d4e8707c007c0962e8621f946c /src/upd8.js
parent7710fc578ec94bb9edca551e7d38ab30d8560ecf (diff)
refactor/tweak getGridHTML to use link() fns
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 91cc66d..b31505d 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -3059,7 +3059,6 @@ async function main() {
 
                 bound.getGridHTML = bindOpts(getGridHTML, {
                     [bindOpts.bindIndex]: 0,
-                    getLinkThemeString,
                     img,
                     strings
                 });
@@ -3068,15 +3067,15 @@ async function main() {
                     [bindOpts.bindIndex]: 0,
                     getAlbumCover: bound.getAlbumCover,
                     getGridHTML: bound.getGridHTML,
-                    strings,
-                    to
+                    link: bound.link,
+                    strings
                 });
 
                 bound.getFlashGridHTML = bindOpts(getFlashGridHTML, {
                     [bindOpts.bindIndex]: 0,
                     getFlashCover: bound.getFlashCover,
                     getGridHTML: bound.getGridHTML,
-                    to
+                    link: bound.link
                 });
 
                 bound.getRevealStringFromTags = bindOpts(getRevealStringFromTags, {