Skip to content
Snippets Groups Projects
Commit 3f4e9df2 authored by Christian Bager Bach Houmann's avatar Christian Bager Bach Houmann
Browse files

fix: hotfix for podcast grid where podcast thumbnails sometimes wouldn't appear

bug caused when opening Obsidian with the plugin view open. The intersection observer wouldn't
detect intersection, so images wouldn't load.
parent 76b5220d
No related branches found
No related tags found
No related merge requests found
<script lang="ts">
import { PodcastFeed } from "src/types/PodcastFeed";
import { createEventDispatcher } from "svelte";
import ImageLoader from "../common/ImageLoader.svelte";
import Image from "../common/Image.svelte";
export let feed: PodcastFeed;
......@@ -12,7 +12,7 @@
}
</script>
<ImageLoader
<Image
src={feed.artworkUrl}
alt={feed.title}
on:click={onclickPodcast.bind(null, feed)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment