Format snippets
This commit is contained in:
@ -10,7 +10,8 @@ Checks if the bottom of the page is visible.
|
||||
```js
|
||||
const bottomVisible = () =>
|
||||
document.documentElement.clientHeight + window.scrollY >=
|
||||
(document.documentElement.scrollHeight || document.documentElement.clientHeight);
|
||||
(document.documentElement.scrollHeight ||
|
||||
document.documentElement.clientHeight);
|
||||
```
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user