Merge pull request #678 from simmayor/11-onload-onerror-1-load-img

11-onload-onerror-1-load-img - Fixed typo
This commit is contained in:
Ilya Kantor 2018-12-15 19:03:16 +03:00 committed by GitHub
commit 58f87122d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ importance: 4
# Load images with a callback # Load images with a callback
Normally, images are loaded when they are created. So i when we add `<img>` to the page, the user does not see the picture immediately. The browser needs to load it first. Normally, images are loaded when they are created. So when we add `<img>` to the page, the user does not see the picture immediately. The browser needs to load it first.
To show an image immediately, we can create it "in advance", like this: To show an image immediately, we can create it "in advance", like this: