Ticket #19611: 19611.diff
File 19611.diff, 746 bytes (added by , 13 years ago) |
---|
-
wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js
69 69 70 70 // show editimage buttons 71 71 ed.onMouseDown.add(function(ed, e) { 72 73 if ( e.target && ( e.target.nodeName == 'IMG' || (e.target.firstChild && e.target.firstChild.nodeName == 'IMG') ) ) { 72 if ( e.target && ( e.target.nodeName == 'IMG' || ( e.target.firstChild && e.target.childNodes.length == 1 && e.target.firstChild.nodeName == 'IMG' ) ) ) { 74 73 mouse = { 75 74 x: e.clientX, 76 75 y: e.clientY,