Skip to content
This repository
Browse code

[popup] Do not allow the event to bubble up to the document, after all

  • Loading branch information...
commit 58f837f50e8b72194de2a9a29ecaa2545e2b3af8 1 parent db8ef0f
Gabriel "_|Nix|_" Schulhof authored August 17, 2012

Showing 1 changed file with 1 addition and 5 deletions. Show diff stats Hide diff stats

  1. 6  js/widgets/popup.js
6  js/widgets/popup.js
@@ -182,11 +182,7 @@ define( [ "jquery",
182 182
 				self._setOption( key, value, true );
183 183
 			});
184 184
 
185  
-			if ( $.mobile.browser.ie ) {
186  
-				ui.screen.bind( "vclick", $.proxy( this, "_eatEventAndClose" ) );
187  
-			} else {
188  
-				this._on( $( document ), { "vclick": "_closeOnScreenVClick" } );
189  
-			}
  185
+			ui.screen.bind( "vclick", $.proxy( this, "_eatEventAndClose" ) );
190 186
 
191 187
 			$.each( this._globalHandlers, function( idx, value ) {
192 188
 				value.src.bind( value.handler );

0 notes on commit 58f837f

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