fix(explore): fix example card placeholder
diff --git a/src/explore/ExampleCard.vue b/src/explore/ExampleCard.vue
index cd9e82c..e94f0b3 100644
--- a/src/explore/ExampleCard.vue
+++ b/src/explore/ExampleCard.vue
@@ -4,7 +4,7 @@
<picture>
<source :data-srcset="screenshotURLWebP" type="image/webp" />
<source :data-srcset="screenshotURLPNG" type="image/png" />
- <img class="chart-area" data-src="../asset/placeholder.jpg" />
+ <img class="chart-area" src="../asset/placeholder.jpg" />
</picture>
</a>
<div>
diff --git a/src/explore/Explore.vue b/src/explore/Explore.vue
index 6828252..1d4371c 100644
--- a/src/explore/Explore.vue
+++ b/src/explore/Explore.vue
@@ -224,7 +224,7 @@
load_delay: 400,
class_loaded: LAZY_LOADED_CLASS,
callback_error(img) {
- const fallbackSrc = img.getAttribute('data-src');
+ const fallbackSrc = img.src;
const children = img.parentElement.children;
for (let i = 0, len = children.length; i < len; i++) {
const el = children[i];