aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorChi Cheng <cloudream@gmail.com>2009-09-27 16:01:44 +0000
committerChi Cheng <cloudream@gmail.com>2009-09-27 16:01:44 +0000
commit21051b35c1f2749e6d8cc47147ad027e2a2ebabf (patch)
tree11cba0e5642cdc783605fd6954ae6e5c8cea643e /ui/jquery.ui.dialog.js
parent0cbda3aaf17291d4457a6a3d5c3628227a5470fa (diff)
downloadjquery-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.js2
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) {