Skip to content

Commit 10dd168

Browse files
committed
Merge branch 'master' of github.com:javascript-tutorial/en.javascript.info into sync-a4a84083
2 parents 50df0c8 + a4a8408 commit 10dd168

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)