diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-09-10 14:35:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-09-10 14:35:15 +0200 |
| commit | 50bf754c8742a5b7d054b9d93f9d4e37c1641a01 (patch) | |
| tree | eeb7636d8e6e720499fa9eef18c057ed26f9ef04 /StoneIsland/www/js/lib/etc/scroll.js | |
| parent | 9cf4294fe8951f0a979d58f14b394cdf35af93aa (diff) | |
use native scrolling!! wooo!!! no more fastclick OR iscroll!! bye bye 2015!!!!
Diffstat (limited to 'StoneIsland/www/js/lib/etc/scroll.js')
| -rw-r--r-- | StoneIsland/www/js/lib/etc/scroll.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/StoneIsland/www/js/lib/etc/scroll.js b/StoneIsland/www/js/lib/etc/scroll.js index 253921e1..51e14a01 100644 --- a/StoneIsland/www/js/lib/etc/scroll.js +++ b/StoneIsland/www/js/lib/etc/scroll.js @@ -22,8 +22,9 @@ function NativeScroll(el) { } function ScrollFactory (el, opt) { - if (accessibility.voiceOver) { - return NativeScroll(el) - } - return new IScroll(el, opt) + return NativeScroll(el) + // if (accessibility.voiceOver) { + // return NativeScroll(el) + // } + // return new IScroll(el, opt) } |
