AuthorImage remove aspectRatio unused var

This commit is contained in:
advplyr 2024-10-09 17:22:38 -05:00
parent 7653e72e88
commit cfae607310

View File

@ -65,10 +65,6 @@ export default {
},
methods: {
imageLoaded() {
var aspectRatio = 1.25
if (this.$refs.wrapper) {
aspectRatio = this.$refs.wrapper.clientHeight / this.$refs.wrapper.clientWidth
}
if (this.$refs.img) {
var { naturalWidth, naturalHeight } = this.$refs.img
var imgAr = naturalHeight / naturalWidth