fix: fitvids on next prev

This commit is contained in:
Damillora 2022-07-24 06:13:31 +07:00
parent 6c123c809a
commit 1b061ac55a
1 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,11 @@
export let nextPost: any;
export let relatedPost: any[];
$: if (post) {
if (browser) {
fitvids();
}
}
onMount(() => {
if (browser) {
fitvids();