Travis build: 1768

This commit is contained in:
30secondsofcode
2018-03-03 12:44:13 +00:00
parent 4bb927581c
commit 4e9b80fe4a
3 changed files with 36 additions and 2 deletions

View File

@ -8,7 +8,7 @@ Pass `{ behavior: 'smooth' }` to `.scrollIntoView` so it scrolls smoothly.
```js
const smoothScroll = element =>
document.querySelector(element).scrollIntoView({
behavior: 'smooth'
behavior: 'smooth'
});
```