Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 58f837f50e8b72194de2a9a29ecaa2545e2b3af8 1 parent db8ef0f
@gabrielschulhof gabrielschulhof authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 js/widgets/popup.js
View
6 js/widgets/popup.js
@@ -182,11 +182,7 @@ define( [ "jquery",
self._setOption( key, value, true );
});
- if ( $.mobile.browser.ie ) {
- ui.screen.bind( "vclick", $.proxy( this, "_eatEventAndClose" ) );
- } else {
- this._on( $( document ), { "vclick": "_closeOnScreenVClick" } );
- }
+ ui.screen.bind( "vclick", $.proxy( this, "_eatEventAndClose" ) );
$.each( this._globalHandlers, function( idx, value ) {
value.src.bind( value.handler );
Please sign in to comment.
Something went wrong with that request. Please try again.