Mobile Browser accessibility
Changed `console.log` to `alert` so that mobile browser users can know the order of execution.
This commit is contained in:
parent
ee4a91e56c
commit
6bdaf20770
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ So DOMContentLoaded definitely happens after such scripts:
|
|||
```html run
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
console.log("DOM ready!");
|
||||
alert("DOM ready!");
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue