Skip to content
Permalink
Browse files
Dialog: fixes a typo.
  • Loading branch information
chicheng committed Sep 27, 2009
1 parent 0cbda3a commit 21051b35c1f2749e6d8cc47147ad027e2a2ebabf
Showing 1 changed file with 1 addition and 1 deletion.
@@ -383,7 +383,7 @@ $.widget("ui.dialog", {
// if (typeof position == 'string' || $.isArray(position)) {
// myAt = $.isArray(position) ? position : position.split(' ');

if (position && (typeof positon == "string" || typeof positon == "object")) {
if (position && (typeof positon == "string" || typeof position == "object")) {
if (typeof position == 'string' || '0' in position) {
myAt = position.split ? position.split(' ') : [position[0], position[1]];
if (myAt.length == 1) {

0 comments on commit 21051b3

Please sign in to comment.