added not preload check so hidden toggles asap
This commit is contained in:
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…
Reference in New Issue