We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ea2724 + 06fe393 commit 9f606dbCopy full SHA for 9f606db
client-side/history.ajax.js
@@ -1,7 +1,9 @@
1
(function($, undefined) {
2
3
// Is History API reliably supported? (based on Modernizr & PJAX)
4
-if (!(window.history && history.pushState && window.history.replaceState && !navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]|WebApps\/.+CFNetwork)/))) return;
+if (!(window.history && history.pushState && window.history.replaceState)) {
5
+ return;
6
+}
7
8
$.nette.ext('redirect', false);
9
0 commit comments