From b2605eba416b2cdca3872fe438b052261db83e5f Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 31 Oct 2017 11:47:07 +0300 Subject: [PATCH] Width/height mistype. --- 2-ui/1-document/10-size-and-scroll-window/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/1-document/10-size-and-scroll-window/article.md b/2-ui/1-document/10-size-and-scroll-window/article.md index 0825b752..5fce2c4b 100644 --- a/2-ui/1-document/10-size-and-scroll-window/article.md +++ b/2-ui/1-document/10-size-and-scroll-window/article.md @@ -55,7 +55,7 @@ let scrollHeight = Math.max( document.body.clientHeight, document.documentElement.clientHeight ); -alert('Full document width, with scrolled out part: ' + scrollHeight); +alert('Full document height, with scrolled out part: ' + scrollHeight); ``` Why so? Better don't ask. These inconsistencies come from ancient times, not a "smart" logic.