Ticket #30785: 30785.patch
File 30785.patch, 672 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
185 185 windowWidth = window.innerWidth; 186 186 toolbarWidth = toolbarNode.offsetWidth; 187 187 toolbarHalf = toolbarWidth / 2; 188 iframe = editor.getContentAreaContainer(). firstChild;188 iframe = editor.getContentAreaContainer().getElementsByTagName( 'iframe' )[0]; 189 189 iframePos = DOM.getPos( iframe ); 190 190 iframeWidth = iframe.offsetWidth; 191 191 iframeHeigth = iframe.offsetHeight;