Skip to content
Permalink
Browse files

effects.core: fixed parsing of IE left/top values in createWrapper (c…

…loses #2915)
  • Loading branch information
Paul Bakaus
Paul Bakaus committed May 25, 2008
1 parent 074bd8d commit b39129084414aa2caa688ad9d01465d6287f93dd
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/source/effects.core.js
@@ -44,8 +44,8 @@
wrapper.css({position: 'relative'});
el.css({position: 'relative'});
} else {
var top = parseInt(el.css('top'), 10); if (top.constructor != Number) top = 'auto';
var left = parseInt(el.css('left'), 10); if (left.constructor != Number) left = 'auto';
var top = parseInt(el.css('top'), 10); if(isNaN(top)) top = 'auto';
var left = parseInt(el.css('left'), 10); if(isNaN(top)) 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});
}

0 comments on commit b391290

Please sign in to comment.
You can’t perform that action at this time.