Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Functional tests: Hashchange: Turn off pushState if the query paramet…
Browse files Browse the repository at this point in the history
…er "push-state" is present (does not matter what its value is)
  • Loading branch information
Gabriel Schulhof committed Dec 11, 2012
1 parent 18d4815 commit 00f9532
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functional/hashchange/hashchange.html
Expand Up @@ -9,15 +9,15 @@
<script src="../../../js/jquery.tag.inserter.js"></script>
<script src="../../../js/jquery.js"></script>
<script src="../../../docs/_assets/js/jqm-docs.js"></script>
<!--
<script>
(function( $, undefined ) {
$( document ).bind( "mobileinit", function() {
$.mobile.pushStateEnabled = false;
if ( !!~location.search.indexOf( "push-state" ) ) {
$.mobile.pushStateEnabled = false;
}
});
})( jQuery );
</script>
-->
<script src="../../../js/"></script>
</head>
<body>
Expand Down

0 comments on commit 00f9532

Please sign in to comment.