mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-15 23:38:05 +02:00
AuthorImage remove aspectRatio unused var
This commit is contained in:
parent
7653e72e88
commit
cfae607310
1 changed files with 0 additions and 4 deletions
|
@ -65,10 +65,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
imageLoaded() {
|
imageLoaded() {
|
||||||
var aspectRatio = 1.25
|
|
||||||
if (this.$refs.wrapper) {
|
|
||||||
aspectRatio = this.$refs.wrapper.clientHeight / this.$refs.wrapper.clientWidth
|
|
||||||
}
|
|
||||||
if (this.$refs.img) {
|
if (this.$refs.img) {
|
||||||
var { naturalWidth, naturalHeight } = this.$refs.img
|
var { naturalWidth, naturalHeight } = this.$refs.img
|
||||||
var imgAr = naturalHeight / naturalWidth
|
var imgAr = naturalHeight / naturalWidth
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue