summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js')
-rw-r--r--StoneIsland/www/js/lib/etc/accessibility.js3
-rw-r--r--StoneIsland/www/js/lib/etc/scroll.js9
2 files changed, 7 insertions, 5 deletions
diff --git a/StoneIsland/www/js/lib/etc/accessibility.js b/StoneIsland/www/js/lib/etc/accessibility.js
index a18ad5b3..c91582f0 100644
--- a/StoneIsland/www/js/lib/etc/accessibility.js
+++ b/StoneIsland/www/js/lib/etc/accessibility.js
@@ -1,4 +1,5 @@
var accessibility = (function() {
+ $('html').addClass('vscroll')
var accessibility = {}
accessibility.voiceOver = false
@@ -43,7 +44,7 @@ var accessibility = (function() {
$("html").addClass('accessible')
$('html').addClass('vscroll')
} else {
- $('html').addClass('iscroll')
+ // $('html').addClass('iscroll')
}
ready()
})
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)
}