Ticket #25592: 25592.5.diff
File 25592.5.diff, 2.1 KB (added by , 10 years ago) |
---|
-
wp-content/themes/twentyfourteen/functions.php
262 262 ) ); 263 263 } 264 264 265 wp_enqueue_script( 'twentyfourteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '2013120 5', true );265 wp_enqueue_script( 'twentyfourteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20131209', true ); 266 266 } 267 267 add_action( 'wp_enqueue_scripts', 'twentyfourteen_scripts' ); 268 268 -
wp-content/themes/twentyfourteen/js/functions.js
63 63 that.toggleClass( 'active' ); 64 64 wrapper.toggleClass( 'hide' ); 65 65 66 if ( that.is( '.active' ) || $( '.s creen-reader-text' )=== event.target ) {66 if ( that.is( '.active' ) || $( '.search-toggle .screen-reader-text' )[0] === event.target ) { 67 67 wrapper.find( '.search-field' ).focus(); 68 68 } 69 69 } ); -
wp-content/themes/twentyfourteen/rtl.css
98 98 } 99 99 100 100 .search-toggle .screen-reader-text { 101 right: auto;102 left: 0;101 right: 0; /* Avoid a horizontal scrollbar when the site has a long menu */ 102 left: auto; 103 103 } 104 104 105 105 -
wp-content/themes/twentyfourteen/style.css
878 878 margin-top: 14px; 879 879 } 880 880 881 .search-toggle .screen-reader-text { 882 left: 0; /* Avoid a horizontal scrollbar when the site has a long menu */ 883 } 884 881 885 .search-box-wrapper { 882 886 -webkit-box-sizing: border-box; 883 887 -moz-box-sizing: border-box;