« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/misc-templates.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r--src/misc-templates.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index 0a33648..83aae19 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -2,7 +2,7 @@
 // These are made available right on a page spec's ({wikiData, language, ...})
 // args object!
 
-import {Track, Album} from './data/things.js';
+import T from './data/things/index.js';
 
 import {
   empty,
@@ -173,7 +173,7 @@ function unbound_generateChronologyLinks(currentThing, {
       // right function to use here.
       const args = [thingsUnsorted, {getDate: (t) => t[dateKey]}];
       const things = (
-        thingsUnsorted.every(t => t instanceof Album || t instanceof Track)
+        thingsUnsorted.every(t => t instanceof T.Album || t instanceof T.Track)
           ? sortAlbumsTracksChronologically(...args)
           : sortChronologically(...args));