forked from AkkomaGang/akkoma-fe
added not preload check so hidden toggles asap
This commit is contained in:
parent
7c6c2cfb22
commit
b271957b4c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue