Skip to content

Commit

Permalink
FIXED: image was not shown on mobile when no video was available
Browse files Browse the repository at this point in the history
  • Loading branch information
sd-ditoy committed Jul 26, 2024
1 parent 20dc9fe commit 45b3bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/blocks/TextTeaser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export default {
return slugify(title, { lower: true, strict: true });
},
mergeVideo() {
return (this.$d.clientWidth <= 1241);
return (this.hasVideo && this.$d.clientWidth <= 1241);
},
},
//---------------------------------------------------
Expand Down

0 comments on commit 45b3bef

Please sign in to comment.