aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/mobile_config.js
diff options
context:
space:
mode:
authorJedidiah Broadbent <hello@jedidiah.eu>2013-06-03 16:13:13 +0100
committerJedidiah Broadbent <hello@jedidiah.eu>2013-06-03 16:13:13 +0100
commit00935ce1da08124918becbe6b2d97d3b6703dc5c (patch)
tree2c65240af80a0233c8f2b2a141a0926497ad8986 /www/js/mobile_config.js
parent60b3caaece752d9915a208f7f94b23d7cfbd8ddb (diff)
parentdbc9edbfb12768d6c368e99f4580022b4a5ce2ee (diff)
Merge branch 'phonegap-jquery-mobile-new' of ssh://git.mysociety.org/data/git/public/fixmystreet into phonegap-jquery-mobile-new
Diffstat (limited to 'www/js/mobile_config.js')
-rw-r--r--www/js/mobile_config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/mobile_config.js b/www/js/mobile_config.js
index 8f530f4..6d0f10a 100644
--- a/www/js/mobile_config.js
+++ b/www/js/mobile_config.js
@@ -6,4 +6,7 @@ $(document).bind("mobileinit", function(){
$.mobile.ignoreContentEnabled = true;
$.mobile.defaultPageTransition = 'slide';
$.mobile.buttonMarkup.hoverDelay = 0;
+ // turn of scrollTop support as that stops annoying post
+ // transition 1 px jumps on iOS
+ $.support.scrollTop = 0;
});