Travis build: 1768

This commit is contained in:
30secondsofcode
2018-03-03 12:44:13 +00:00
parent 6d3dc2119e
commit 875c0b2a12
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'
});
```