Skip to content

Instantly share code, notes, and snippets.

@niraj-shah niraj-shah/jquery_fix.js
Last active Dec 4, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.