Skip to content

Commit a4a8408

Browse files
authored
Merge pull request #1700 from dashaezhova/patch-1
Fixed typo in article.md
2 parents 14e4e9f + c77de52 commit a4a8408

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ window.onbeforeunload = function() {
173173
};
174174
```
175175
176-
For historical reasons, returning a non-empty string also counts as canceling the event. Some time ago browsers used show it as a message, but as the [modern specification](https://html.spec.whatwg.org/#unloading-documents) says, they shouldn't.
176+
For historical reasons, returning a non-empty string also counts as canceling the event. Some time ago browsers used to show it as a message, but as the [modern specification](https://html.spec.whatwg.org/#unloading-documents) says, they shouldn't.
177177
178178
Here's an example:
179179

0 commit comments

Comments
 (0)