diff --git a/js/widgets/popup.js b/js/widgets/popup.js index da8164cfbc4..5a0b448cfd6 100644 --- a/js/widgets/popup.js +++ b/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 ) ) ); },