change line 152

".ds-card-imag" TO ".ds-card-image"
This commit is contained in:
Alexander Friedland 2019-12-13 13:39:51 +01:00 committed by GitHub
parent 4c93f65ef4
commit 792ae8d598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ export default {
mounted() {
const width = this.$el.offsetWidth
const height = Math.min(width / this.post.imageAspectRatio, 2000)
const imageElement = this.$el.querySelector('.ds-card-imag')
const imageElement = this.$el.querySelector('.ds-card-image')
if (imageElement) {
imageElement.style.height = `${height}px`