diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-13 16:00:03 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-13 16:00:03 -0400 |
commit | 58692c5544781c0fb50f7ab112be7eb38a188ae6 (patch) | |
tree | 872b93f91c1d8671caedde58d865d1b4913aaa92 /src/content/dependencies/image.js | |
parent | 944ea96ae6f72c11527091a718b124d7e396cf34 (diff) |
content, test: image: remove 'id' slot
Diffstat (limited to 'src/content/dependencies/image.js')
-rw-r--r-- | src/content/dependencies/image.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js index 4dc1100..3121aca 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); |