Skip to content

Commit 6bdaf20

Browse files
authored
Mobile Browser accessibility
Changed `console.log` to `alert` so that mobile browser users can know the order of execution.
1 parent ee4a91e commit 6bdaf20

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/5-loading/01-onload-ondomcontentloaded

1 file changed

+1
-1
lines changed

2-ui/5-loading/01-onload-ondomcontentloaded/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ So DOMContentLoaded definitely happens after such scripts:
6060
```html run
6161
<script>
6262
document.addEventListener("DOMContentLoaded", () => {
63-
console.log("DOM ready!");
63+
alert("DOM ready!");
6464
});
6565
</script>
6666

0 commit comments

Comments
 (0)