fix assigning editor

This commit is contained in:
Brent Vardy 2019-10-17 14:54:27 +01:00
parent 886f34ed30
commit d3480534b1

View File

@ -76,6 +76,7 @@ export default {
transformImage(file) {
let thumbnailElement, editor, confirm, thumbnailPreview, contributionImage
// Create the image editor overlay
editor = document.querySelectorAll('.crop-overlay')[0]
this.showCropper = false
thumbnailElement = document.querySelectorAll('#postdropzone')[0]
thumbnailPreview = document.querySelectorAll('.thumbnail-preview')[0]