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

Commit 2b23833

Browse files
author
Gabriel Schulhof
committed
Popup: Correctly pass position data through to popupbeforeposition handler.
(cherry picked from commit 0f7dd43)
1 parent 0523f5b commit 2b23833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ $.widget( "mobile.popup", $.mobile.widget, {
554554
_reposition: function( o ) {
555555
// We only care about position-related parameters for repositioning
556556
o = { x: o.x, y: o.y, positionTo: o.positionTo };
557-
this._trigger( "beforeposition", o );
557+
this._trigger( "beforeposition", undefined, o );
558558
this._ui.container.offset( this._placementCoords( this._desiredCoords( o ) ) );
559559
},
560560

0 commit comments

Comments
 (0)