Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Popup: Correctly pass position data through to popupbeforeposition ha…
Browse files Browse the repository at this point in the history
…ndler.

(cherry picked from commit 0f7dd43)
  • Loading branch information
Gabriel Schulhof committed May 28, 2013
1 parent 0523f5b commit 2b23833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/popup.js
Expand Up @@ -554,7 +554,7 @@ $.widget( "mobile.popup", $.mobile.widget, {
_reposition: function( o ) {
// We only care about position-related parameters for repositioning
o = { x: o.x, y: o.y, positionTo: o.positionTo };
this._trigger( "beforeposition", o );
this._trigger( "beforeposition", undefined, o );
this._ui.container.offset( this._placementCoords( this._desiredCoords( o ) ) );
},

Expand Down

0 comments on commit 2b23833

Please sign in to comment.