Ticket #27761: 27761.4.diff
File 27761.4.diff, 887 bytes (added by , 11 years ago) |
---|
-
wp-admin/js/dashboard.js
124 124 $( '.meta-box-sortables' ).sortable( 'option', 'containment', 'document' ); 125 125 126 126 function autoResizeTextarea() { 127 if ( document.documentMode && document.documentMode < 9 ) { 128 return; 129 } 130 127 131 // Add a hidden div. We'll copy over the text from the textarea to measure its height. 128 132 $('body').append( '<div class="quick-draft-textarea-clone" style="display: none;"></div>' ); 129 133 … … 173 177 editorHeight = cloneHeight; 174 178 } 175 179 176 // No scrollbars as we change height 177 editor.css('overflow -y', 'hidden');180 // No scrollbars as we change height, not for IE < 9 181 editor.css('overflow', 'hidden'); 178 182 179 183 $this.css('height', editorHeight + 'px'); 180 184 });