r3308 committed - Dialog: fixes a typo.

r3308 committed - Dialog: fixes a typo.


Revision: 3308
Author: cloudream@gmail.com
Date: Sun Sep 27 09:01:44 2009
Log: Dialog: fixes a typo.
http://code.google.com/p/jquery-ui/source/detail?r=3308
Modified:
/trunk/ui/jquery.ui.dialog.js
=======================================
--- /trunk/ui/jquery.ui.dialog.js    Sat Sep 19 07:03:53 2009
+++ /trunk/ui/jquery.ui.dialog.js    Sun Sep 27 09:01:44 2009
@@ -383,7 +383,7 @@
//        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) {