mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Dialog: Don't use deprecated offset option for .position(). Fixes #8675 - Dialog: Position with pixels in array doesn't work with back compat disabled.
This commit is contained in:
6
ui/jquery.ui.dialog.js
vendored
6
ui/jquery.ui.dialog.js
vendored
@@ -509,9 +509,9 @@ $.widget("ui.dialog", {
|
||||
});
|
||||
|
||||
position = {
|
||||
my: myAt.join( " " ),
|
||||
at: myAt.join( " " ),
|
||||
offset: offset.join( " " )
|
||||
my: myAt[0] + (offset[0] < 0 ? offset[0] : "+" + offset[0]) + " " +
|
||||
myAt[1] + (offset[1] < 0 ? offset[1] : "+" + offset[1]),
|
||||
at: myAt.join( " " )
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user