diff options
Diffstat (limited to 'www/js/mobile_config.js')
-rw-r--r-- | www/js/mobile_config.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/js/mobile_config.js b/www/js/mobile_config.js new file mode 100644 index 0000000..6d0f10a --- /dev/null +++ b/www/js/mobile_config.js @@ -0,0 +1,12 @@ +$(document).bind("mobileinit", function(){ + $.mobile.hashListeningEnabled = false; + $.mobile.ajaxEnabled = false; + $.mobile.linkBindingEnabled = false; + $.mobile.pushStateEnabled = false; + $.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; +}); |