From 21051b35c1f2749e6d8cc47147ad027e2a2ebabf Mon Sep 17 00:00:00 2001 From: Chi Cheng Date: Sun, 27 Sep 2009 16:01:44 +0000 Subject: Dialog: fixes a typo. --- ui/jquery.ui.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 702b30a92..865369798 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -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) { -- cgit v1.2.3