Skip to content

Commit

Permalink
use default autoheight function
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuest Wang committed Aug 29, 2012
1 parent c53144e commit 36bdb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _src/plugins/autoheight.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ UE.plugins['autoheight'] = function () {
tmpNode = span.cloneNode(true);
me.body.appendChild(tmpNode);

currentHeight = Math.max(domUtils.getXY(tmpNode).y, me.options.minFrameHeight);
currentHeight = Math.max(domUtils.getXY(tmpNode).y + tmpNode.offsetHeight, me.options.minFrameHeight);

if (currentHeight != lastHeight) {

Expand Down

0 comments on commit 36bdb68

Please sign in to comment.