« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateCoverArtwork.js1
-rw-r--r--src/content/dependencies/image.js9
2 files changed, 0 insertions, 10 deletions
diff --git a/src/content/dependencies/generateCoverArtwork.js b/src/content/dependencies/generateCoverArtwork.js
index a992f5da..e333b190 100644
--- a/src/content/dependencies/generateCoverArtwork.js
+++ b/src/content/dependencies/generateCoverArtwork.js
@@ -50,7 +50,6 @@ export default {
             alt: slots.alt,
             color: slots.color,
             thumb: 'medium',
-            id: 'cover-art',
             reveal: true,
             link: true,
             square: true,
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js
index 4dc1100c..3121aca3 100644
--- a/src/content/dependencies/image.js
+++ b/src/content/dependencies/image.js
@@ -59,7 +59,6 @@ export default {
     lazy: {type: 'boolean', default: false},
     square: {type: 'boolean', default: false},
 
-    id: {type: 'string'},
     class: {type: 'string'},
     alt: {type: 'string'},
     width: {type: 'number'},
@@ -144,14 +143,6 @@ export default {
 
     const containerAttributes = html.attributes();
 
-    if (slots.id) {
-      if (willLink) {
-        linkAttributes.set('id', slots.id);
-      } else {
-        imgAttributes.set('id', slots.id);
-      }
-    }
-
     if (slots.class) {
       if (willLink) {
         linkAttributes.set('class', slots.class);