]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: fixes a typo.
authorChi Cheng <cloudream@gmail.com>
Sun, 27 Sep 2009 16:01:44 +0000 (16:01 +0000)
committerChi Cheng <cloudream@gmail.com>
Sun, 27 Sep 2009 16:01:44 +0000 (16:01 +0000)
ui/jquery.ui.dialog.js

index 702b30a923361c320d86a9501c369e901d4a51ed..8653697989d0496a24c5aca14092a0cddfe2f2b6 100644 (file)
@@ -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) {