Skip to content
This repository
Browse code

[popup] Unhook hash listeners when aborting

  • Loading branch information...
commit c029054ceb5ebca66320b198cac89d6bbfd13d69 1 parent eaefde6
Gabriel "_|Nix|_" Schulhof authored August 06, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  js/widgets/popup.js
4  js/widgets/popup.js
@@ -617,7 +617,7 @@ define( [ "jquery",
617 617
 			toUrl = parsedDst.pathname + parsedDst.search + parsedDst.hash;
618 618
 
619 619
 			if ( this._myUrl !== toUrl ) {
620  
-				this._onHashChange( true );
  620
+				this._navUnhook( true );
621 621
 			}
622 622
 		},
623 623
 
@@ -675,7 +675,7 @@ define( [ "jquery",
675 675
 				window.history.back();
676 676
 			}
677 677
 			else {
678  
-				this._onHashChange();
  678
+				this._onHashChange( abort );
679 679
 			}
680 680
 			$.mobile.activePage.unbind( "pagebeforechange.popup" );
681 681
 		},

0 notes on commit c029054

Please sign in to comment.
Something went wrong with that request. Please try again.