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:
parent
d70be41ae6
commit
cdcd99e11d
|
@ -115,13 +115,13 @@
|
||||||
if ( resized )
|
if ( resized )
|
||||||
return;
|
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
|
// Get height differently depending on the browser used
|
||||||
if ( tinymce.isIE || tinymce.isWebKit )
|
if ( tinymce.isIE || tinymce.isWebKit )
|
||||||
myHeight = d.body.scrollHeight;
|
myHeight = d.body.scrollHeight;
|
||||||
else
|
else
|
||||||
myHeight = body.offsetHeight;
|
myHeight = d.body.offsetHeight;
|
||||||
|
|
||||||
// Don't make it smaller than 300px
|
// Don't make it smaller than 300px
|
||||||
resizeHeight = (myHeight > 300) ? myHeight : 300;
|
resizeHeight = (myHeight > 300) ? myHeight : 300;
|
||||||
|
|
Loading…
Reference in New Issue