minor fixes

This commit is contained in:
Ilya Kantor 2021-07-23 10:14:55 +03:00
parent 2957e71a05
commit 1b1a2c4b66
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ The example below correctly shows image sizes, because `window.onload` waits for
```html run height=200 refresh
<script>
window.onload = function() {
window.onload = function() { // can also use window.addEventListener('load', (event) => {
alert('Page loaded');
// image is loaded at this time