]> source.dussan.org Git - jquery-ui.git/commitdiff
typo in createWrapper (fixes #2974 fixes #2975)
authorAaron Eisenberger <aaronchi@gmail.com>
Thu, 26 Jun 2008 13:25:29 +0000 (13:25 +0000)
committerAaron Eisenberger <aaronchi@gmail.com>
Thu, 26 Jun 2008 13:25:29 +0000 (13:25 +0000)
ui/effects.core.js

index c5e98dfe3a0166259fe69a054bce58c2995baf73..d3e9e46cdcf5a91922dc2f2223cda69aa3a1d3f6 100644 (file)
@@ -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});
                }