From 50bf754c8742a5b7d054b9d93f9d4e37c1641a01 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 10 Sep 2020 14:35:15 +0200 Subject: use native scrolling!! wooo!!! no more fastclick OR iscroll!! bye bye 2015!!!! --- StoneIsland/www/js/lib/etc/scroll.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'StoneIsland/www/js/lib/etc/scroll.js') 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) } -- cgit v1.2.3-70-g09d2