diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-21 22:22:40 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-21 22:22:40 +0200 |
| commit | c46bc4988b477c20797408fcbd9269198de0d2c3 (patch) | |
| tree | d35ddac0359c7967b3be66d5ab70fea5b0eb5f2d /client/components/Scroller.jsx | |
| parent | f0983f54c7ea863855a0e035e784bf45f1e29c5b (diff) | |
ditch the fullpage scrolling
Diffstat (limited to 'client/components/Scroller.jsx')
| -rw-r--r-- | client/components/Scroller.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/components/Scroller.jsx b/client/components/Scroller.jsx index 05758b8..8958481 100644 --- a/client/components/Scroller.jsx +++ b/client/components/Scroller.jsx @@ -16,6 +16,7 @@ export default class Scroller extends Component { document.body.addEventListener('DOMMouseScroll', this.onWheel) } onWheel(e) { + return if (util.isMobile) return; e.preventDefault() e.stopPropagation() |
