diff options
-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) { |