diff options
author | Chi Cheng <cloudream@gmail.com> | 2009-09-27 16:01:44 +0000 |
---|---|---|
committer | Chi Cheng <cloudream@gmail.com> | 2009-09-27 16:01:44 +0000 |
commit | 21051b35c1f2749e6d8cc47147ad027e2a2ebabf (patch) | |
tree | 11cba0e5642cdc783605fd6954ae6e5c8cea643e /ui/jquery.ui.dialog.js | |
parent | 0cbda3aaf17291d4457a6a3d5c3628227a5470fa (diff) | |
download | jquery-ui-21051b35c1f2749e6d8cc47147ad027e2a2ebabf.tar.gz jquery-ui-21051b35c1f2749e6d8cc47147ad027e2a2ebabf.zip |
Dialog: fixes a typo.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r-- | ui/jquery.ui.dialog.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |