Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Popup: Make sure close() only acts if the popup on which it is called…

… is the currently open popup
  • Loading branch information...
commit d42c4f209e04f041c653c30d524ade5ab0a929ba 1 parent 45442df
@gabrielschulhof gabrielschulhof authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/widgets/popup.js
View
2  js/widgets/popup.js
@@ -815,7 +815,7 @@ define( [
close: function() {
// make sure close is idempotent
- if( !$.mobile.popup.active ){
+ if( $.mobile.popup.active !== this ) {
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.