Ticket #30696: 30696.2.patch
File 30696.2.patch, 709 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
238 238 left = boundaryMiddle - toolbarHalf; 239 239 left += iframePos.x; 240 240 241 if ( toolbarWidth >= windowWidth ) { 241 if ( boundary.left < 0 || boundary.right > iframeWidth ) { 242 left = iframePos.x + ( iframeWidth - toolbarWidth ) / 2; 243 } else if ( toolbarWidth >= windowWidth ) { 242 244 className += ' mce-arrow-full'; 243 245 left = 0; 244 246 } else if ( ( left < 0 && boundary.left + toolbarWidth > windowWidth ) ||