Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dialog: Don't use deprecated offset option for .position(). Fixes #86…
…75 - Dialog: Position with pixels in array doesn't work with back compat disabled.
  • Loading branch information
scottgonzalez committed Oct 23, 2012
1 parent 568aec6 commit 11effcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/jquery.ui.dialog.js
Expand Up @@ -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( " " )
};
}

Expand Down

0 comments on commit 11effcb

Please sign in to comment.