From c77de523645c2de563b2b5823fe560616754dd8f Mon Sep 17 00:00:00 2001 From: Daria Pimenova Date: Mon, 30 Dec 2019 10:01:24 +0400 Subject: [PATCH] Fixed typo in article.md Fixed small typo in 'Page: DOMContentLoaded, load, beforeunload, unload' article.md --- 2-ui/5-loading/01-onload-ondomcontentloaded/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/5-loading/01-onload-ondomcontentloaded/article.md b/2-ui/5-loading/01-onload-ondomcontentloaded/article.md index e825d870..bc637e63 100644 --- a/2-ui/5-loading/01-onload-ondomcontentloaded/article.md +++ b/2-ui/5-loading/01-onload-ondomcontentloaded/article.md @@ -173,7 +173,7 @@ window.onbeforeunload = function() { }; ``` -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. +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. Here's an example: