fix: fitvids on next prev

This commit is contained in:
Damillora 2022-07-24 06:13:31 +07:00
parent 6c123c809a
commit 1b061ac55a

View File

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