Skip to content
Browse files

Popup: Correctly pass position data through to popupbeforeposition ha…

…ndler.

(cherry picked from commit 0f7dd43)
  • Loading branch information...
1 parent 0523f5b commit 2b23833250277fdd8bcbbdab8e9cb929a556c6cd @gabrielschulhof gabrielschulhof committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/popup.js
View
2 js/widgets/popup.js
@@ -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 ) ) );
},

0 comments on commit 2b23833

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