aboutsummaryrefslogtreecommitdiffstats
path: root/ui/effects.core.js
diff options
context:
space:
mode:
authorAaron Eisenberger <aaronchi@gmail.com>2008-06-26 13:25:29 +0000
committerAaron Eisenberger <aaronchi@gmail.com>2008-06-26 13:25:29 +0000
commit4078d0928d90995d40a948dc5c84b5508dec2134 (patch)
treeda55ee00e5951d0eca19ec25c4ddebd616156f0e /ui/effects.core.js
parente8b545382ee8b13fa1a23a54ee0f61645377b32a (diff)
downloadjquery-ui-4078d0928d90995d40a948dc5c84b5508dec2134.tar.gz
jquery-ui-4078d0928d90995d40a948dc5c84b5508dec2134.zip
typo in createWrapper (fixes #2974 fixes #2975)
Diffstat (limited to 'ui/effects.core.js')
-rw-r--r--ui/effects.core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/effects.core.js b/ui/effects.core.js
index c5e98dfe3..d3e9e46cd 100644
--- a/ui/effects.core.js
+++ b/ui/effects.core.js
@@ -54,7 +54,7 @@ $.extend($.effects, {
el.css({position: 'relative'});
} else {
var top = parseInt(el.css('top'), 10); if(isNaN(top)) top = 'auto';
- var left = parseInt(el.css('left'), 10); if(isNaN(top)) left = 'auto';
+ var left = parseInt(el.css('left'), 10); if(isNaN(left)) left = 'auto';
wrapper.css({ position: el.css('position'), top: top, left: left, zIndex: el.css('z-index') }).show();
el.css({position: 'relative', top:0, left:0});
}