Skip to content
Snippets Groups Projects
Commit 144c2956 authored by Conrado @ VGS's avatar Conrado @ VGS
Browse files

Update regex so returns when iOS version is greater than 10.

parent f52ea82e
No related branches found
No related tags found
No related merge requests found
......@@ -644,7 +644,7 @@ if ( $.inArray('state', $.event.props) < 0 )
$.support.pjax =
window.history && window.history.pushState && window.history.replaceState
// pushState isn't reliable on iOS until 5.
&& !navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]|WebApps\/.+CFNetwork)/)
&& !navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)
// Fall back to normalcy for older browsers.
if ( !$.support.pjax ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment