Ticket #21460: 21460.patch
| File 21460.patch, 759 bytes (added by , 13 years ago) |
|---|
-
wp-includes/js/quicktags.dev.js
182 182 // listen for click events 183 183 onclick = function(e) { 184 184 e = e || window.event; 185 var target = e.target || e.srcElement, i;185 var target = e.target || e.srcElement, visible = target.clientWidth || target.offsetWidth, i; 186 186 187 // don't call the callback on pressing the accesskey when the button is not visible 188 if ( !visible ) 189 return; 190 187 191 // as long as it has the class ed_button, execute the callback 188 192 if ( / ed_button /.test(' ' + target.className + ' ') ) { 189 193 // we have to reassign canvas here