minor fixes
This commit is contained in:
parent
2957e71a05
commit
1b1a2c4b66
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue