Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[popup] Unhook hash listeners when aborting

  • Loading branch information...
commit c029054ceb5ebca66320b198cac89d6bbfd13d69 1 parent eaefde6
@gabrielschulhof gabrielschulhof authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/widgets/popup.js
View
4 js/widgets/popup.js
@@ -617,7 +617,7 @@ define( [ "jquery",
toUrl = parsedDst.pathname + parsedDst.search + parsedDst.hash;
if ( this._myUrl !== toUrl ) {
- this._onHashChange( true );
+ this._navUnhook( true );
}
},
@@ -675,7 +675,7 @@ define( [ "jquery",
window.history.back();
}
else {
- this._onHashChange();
+ this._onHashChange( abort );
}
$.mobile.activePage.unbind( "pagebeforechange.popup" );
},
Please sign in to comment.
Something went wrong with that request. Please try again.