Make WordPress Core

Ticket #27761: 27761.3.diff

File 27761.3.diff, 612 bytes (added by azaozz, 11 years ago)
  • src/wp-admin/js/dashboard.js

     
    124124        $( '.meta-box-sortables' ).sortable( 'option', 'containment', 'document' );
    125125
    126126        function autoResizeTextarea() {
     127                if ( document.documentMode && document.documentMode < 9 ) {
     128                        return;
     129                }
     130
    127131                // Add a hidden div. We'll copy over the text from the textarea to measure its height.
    128132                $('body').append( '<div class="quick-draft-textarea-clone" style="display: none;"></div>' );
    129133