Ticket #22053: 22053.3.diff
| File 22053.3.diff, 681 bytes (added by SergeyBiryukov, 8 months ago) |
|---|
-
wp-includes/class-wp-editor.php
608 608 try { tinymce.init(init); } catch(e){} 609 609 } 610 610 } else { 611 el = document.getElementsByClassName('wp-editor-wrap'); 611 if ( document.getElementsByClassName ) 612 el = document.getElementsByClassName('wp-editor-wrap'); 613 else 614 el = document.querySelectorAll('.wp-editor-wrap'); 615 612 616 for ( i in el ) { 613 617 if ( typeof(el[i]) == 'object' ) 614 618 el[i].onmousedown = function(){ wpActiveEditor = this.id.slice(3, -5); }