Remove unnecessarily code

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8846 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-08-23 09:50:04 +00:00
parent 734658d256
commit 569e972e07

View file

@ -212,14 +212,4 @@ function getOffset(elem, offsetParent) {
return {top:top, left:left};
}
function setHolder(info, yPos) {
if(Math.abs(info.top-yPos) <= 10) {
$holder.css({top:info.top-10,height:'10px'});
return 'before';
} else if(Math.abs(info.bottom-yPos) <= 10) {
$holder.css({top:info.bottom-10,height:'10px'});
return 'after';
}
}
});