Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Last active December 4, 2015 14:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save niraj-shah/dbc2b28630d5538eebbd to your computer and use it in GitHub Desktop.
jQuery Mobile iOS 9.x fix for Cordova / Trigger.io
if ( device.platform == 'iOS' && parseFloat( device.version ) >= 9 ) {
// fix for iOS 9 only or it will break Android
$.mobile.hashListeningEnabled = true;
$.mobile.pushStateEnabled = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment