Fixes height miscalculation in ellipsis function
Fixes height miscalculation in ellipsis function

The `ellipsis` funciton was removing an element
when it could be truncated instead. The situation had place when:
1) the parent + `after` element were higher than threshold,
2) appending the `after` element to the parent made it shorter than the threshold.

zigi74/jQuery.dotdotdot,BionicClick/jQuery.dotdotdot,zigi74/jQuery.dotdotdot,zigi74/jQuery.dotdotdot,renlei/jQuery.dotdotdot,BionicClick/jQuery.dotdotdot,olegsxm/jQuery.dotdotdot,olegsxm/jQuery.dotdotdot,BeSite/jQuery.dotdotdot,renlei/jQuery.dotdotdot,qinhua/jQuery.dotdotdot,BeSite/jQuery.dotdotdot,qinhua/jQuery.dotdotdot,fashionsun/jQuery.dotdotdot,renlei/jQuery.dotdotdot,BionicClick/jQuery.dotdotdot,fashionsun/jQuery.dotdotdot,qinhua/jQuery.dotdotdot,olegsxm/jQuery.dotdotdot,fashionsun/jQuery.dotdotdot