Remove unneeded var added in [20723], see #20608
git-svn-id: https://develop.svn.wordpress.org/trunk@20724 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0ad0b4d829
commit
3afdcf2113
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user