Mercurial > public > sg101
diff media/js/tiny_mce/plugins/fullscreen/editor_plugin_src.js @ 247:6ed2932901fa
Update tinymce to 3.3.9
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 18 Sep 2010 19:54:11 +0000 |
parents | 237710206167 |
children |
line wrap: on
line diff
--- a/media/js/tiny_mce/plugins/fullscreen/editor_plugin_src.js Sat Sep 18 19:39:16 2010 +0000 +++ b/media/js/tiny_mce/plugins/fullscreen/editor_plugin_src.js Sat Sep 18 19:54:11 2010 +0000 @@ -119,7 +119,7 @@ var vp = tinymce.DOM.getViewPort(), fed = t.fullscreenEditor, outerSize, innerSize; // Get outer/inner size to get a delta size that can be used to calc the new iframe size - outerSize = fed.dom.getSize(fed.getContainer()); + outerSize = fed.dom.getSize(fed.getContainer().firstChild); innerSize = fed.dom.getSize(fed.getContainer().getElementsByTagName('iframe')[0]); fed.theme.resizeTo(vp.w - outerSize.w + innerSize.w, vp.h - outerSize.h + innerSize.h);