added not preload check so hidden toggles asap

hide_network
ValD 6 years ago
parent 7c6c2cfb22
commit b271957b4c

@ -47,7 +47,7 @@ const Attachment = {
}
},
toggleHidden () {
if (this.img) {
if (this.img && !this.preloadImage) {
if (this.img.onload) {
this.img.onload()
} else {

Loading…
Cancel
Save