Use const for never redefined variable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8e9aefd1b9
commit
639df91fbe
|
@ -122,7 +122,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
setOrientation () {
|
setOrientation () {
|
||||||
let image = this.$refs.currentImage
|
const image = this.$refs.currentImage
|
||||||
|
|
||||||
if (image.width < image.height) {
|
if (image.width < image.height) {
|
||||||
this.orientation = 'vertical'
|
this.orientation = 'vertical'
|
||||||
|
|
Reference in a new issue