Changeset 26843
- Timestamp:
- 12/09/2013 08:38:00 PM (11 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r26691 r26843 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' ); -
trunk/src/wp-content/themes/twentyfourteen/js/functions.js
r26691 r26843 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 } -
trunk/src/wp-content/themes/twentyfourteen/rtl.css
r26831 r26843 99 99 100 100 .search-toggle .screen-reader-text { 101 right: auto;102 left: 0;101 right: 5px; /* Avoid a horizontal scrollbar when the site has a long menu */ 102 left: auto; 103 103 } 104 104 -
trunk/src/wp-content/themes/twentyfourteen/style.css
r26831 r26843 879 879 } 880 880 881 .search-toggle .screen-reader-text { 882 left: 5px; /* 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;
Note: See TracChangeset
for help on using the changeset viewer.