Skip to content

Commit

Permalink
[popup] Use ._on() and ._off() to correctly let go of screen "vclick"…
Browse files Browse the repository at this point in the history
… binding
  • Loading branch information
Gabriel Schulhof committed Aug 15, 2012
1 parent 5f8f9a1 commit 069bd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ define( [ "jquery",
},

_close: function() {
this._off( this._ui.screen, { "vclick": "_eatEventAndClose" } );
this._off( this._ui.screen, "vclick" );
this._ui.container.removeClass( "ui-popup-active" );
this._isOpen = false;

Expand Down

0 comments on commit 069bd3f

Please sign in to comment.