Last active
December 4, 2015 14:01
-
-
Save niraj-shah/dbc2b28630d5538eebbd to your computer and use it in GitHub Desktop.
jQuery Mobile iOS 9.x fix for Cordova / Trigger.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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