fix: fitvids on next prev
This commit is contained in:
parent
6c123c809a
commit
1b061ac55a
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user