javascript dock MDL-23765 Fixed regression in last commit to dock

This commit is contained in:
Sam Hemelryk
2010-08-12 06:43:43 +00:00
parent 60d5a2e405
commit ea9ad1f374
+1 -6
View File
@@ -101,12 +101,7 @@ M.core_dock.init = function(Y) {
} else {
dock.addClass(css.dock+'_'+this.cfg.position+'_'+this.cfg.orientation);
}
this.holdingarea = Y.Node.create('<div></div>').setStyles({
position:'absolute',
top:'-1000px',
left:'-1000px',
display:'none'
});
this.holdingarea = Y.Node.create('<div></div>').setStyles({display:'none'});
this.nodes.body.append(this.holdingarea);
if (Y.UA.ie > 0 && Y.UA.ie < 7) {
// Adjust for IE 6 (can't handle fixed pos)