diff options
| author | ValD <maghtpol@gmail.com> | 2018-12-13 00:11:01 +0530 |
|---|---|---|
| committer | ValD <maghtpol@gmail.com> | 2018-12-13 00:11:01 +0530 |
| commit | b271957b4cbee7a489acccbdc84f19d3d6414412 (patch) | |
| tree | d91b72c88669721cb3de7ad02eb5e551bff7937e /src | |
| parent | 7c6c2cfb22d3fb681ed85ed9ab1d71e11f2a02f9 (diff) | |
added not preload check so hidden toggles asap
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/attachment/attachment.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 574439e0..16114c30 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -47,7 +47,7 @@ const Attachment = { } }, toggleHidden () { - if (this.img) { + if (this.img && !this.preloadImage) { if (this.img.onload) { this.img.onload() } else { |
