Remove unneeded var added in [20723], see #20608

git-svn-id: http://core.svn.wordpress.org/trunk@20724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2012-05-04 03:28:35 +00:00
parent d70be41ae6
commit cdcd99e11d
1 changed files with 2 additions and 2 deletions

View File

@ -115,13 +115,13 @@
if ( resized )
return;
var d = ed.getDoc(), body = d.body, DOM = tinymce.DOM, resizeHeight, myHeight;
var d = ed.getDoc(), DOM = tinymce.DOM, resizeHeight, myHeight;
// Get height differently depending on the browser used
if ( tinymce.isIE || tinymce.isWebKit )
myHeight = d.body.scrollHeight;
else
myHeight = body.offsetHeight;
myHeight = d.body.offsetHeight;
// Don't make it smaller than 300px
resizeHeight = (myHeight > 300) ? myHeight : 300;