Merge pull request #770 from dagolinuxoid/patch-2

typo its->it's
This commit is contained in:
Ilya Kantor 2019-02-01 22:22:36 +03:00 committed by GitHub
commit 758c3d65ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,7 +129,7 @@ And this button scrolls the page to show it at the bottom:
Sometimes we need to make the document "unscrollable". For instance, when we need to cover it with a large message requiring immediate attention, and we want the visitor to interact with that message, not with the document. Sometimes we need to make the document "unscrollable". For instance, when we need to cover it with a large message requiring immediate attention, and we want the visitor to interact with that message, not with the document.
To make the document unscrollable, its enough to set `document.body.style.overflow = "hidden"`. The page will freeze on its current scroll. To make the document unscrollable, it's enough to set `document.body.style.overflow = "hidden"`. The page will freeze on its current scroll.
```online ```online
Try it: Try it: