Changeset 29117
- Timestamp:
- 07/12/2014 12:53:08 AM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r29075 r29117 13 13 wp_enqueue_script('post'); 14 14 15 if ( post_type_supports( $post_type, 'editor' ) ) {15 if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() ) { 16 16 wp_enqueue_script('editor-expand'); 17 $_wp_autoresize_on = true; 17 18 } 18 19 … … 497 498 'tinymce' => array( 498 499 'resize' => false, 499 'wp_autoresize_on' => true,500 'wp_autoresize_on' => ! empty( $_wp_autoresize_on ), 500 501 'add_unload_trigger' => false, 501 502 ), -
trunk/src/wp-admin/js/post.js
r29049 r29117 1010 1010 // No point for touch devices 1011 1011 if ( ! $textarea.length || 'ontouchstart' in window ) { 1012 // Hide the resize handle 1013 $('#content-resize-handle').hide(); 1012 1014 return; 1013 1015 }
Note: See TracChangeset
for help on using the changeset viewer.