Changeset 31918
- Timestamp:
- 03/28/2015 10:08:32 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/customize-controls.css
r31917 r31918 946 946 } 947 947 948 . themes-panel-back:before {949 top: 13px;948 .in-themes-panel .control-panel-back:before { 949 content: "\f345"; 950 950 left: 14px; 951 951 } 952 952 953 .in-themes-panel . themes-panel-back {953 .in-themes-panel .control-panel-back { 954 954 left: 0; 955 955 } 956 956 957 .in-sub-panel .themes-panel-back { 958 display: none; 959 } 960 961 .control-panel-back.themes-panel-back:before { 962 content: "\f345"; 957 .in-themes-panel .control-panel-back:before { 963 958 } 964 959 -
trunk/src/wp-admin/js/customize-controls.js
r31916 r31918 599 599 }); 600 600 601 section.container.find( '.themes-panel-back' ).on( 'click keydown', function( event ) { 601 602 $( '#customize-header-actions' ).on( 'click keydown', '.control-panel-back', function( event ) { 602 603 if ( api.utils.isKeydownButNotEnterEvent( event ) ) { 603 604 return; … … 606 607 event.preventDefault(); // Keep this AFTER the key filter above 607 608 608 section.collapse(); 609 if ( section.expanded() ) { 610 section.collapse(); 611 } 609 612 }); 610 613 … … 692 695 siblings = container.find( '.open' ), 693 696 topPanel = overlay.find( '#customize-theme-controls > ul > .accordion-section > .accordion-section-title' ).add( '#customize-info > .accordion-section-title' ), 694 backBtn = overlay.find( '. themes-panel-back' ),697 backBtn = overlay.find( '.control-panel-back' ), 695 698 panelTitle = section.find( '.accordion-section-title' ).first(), 696 699 content = section.find( '.control-panel-content' ); -
trunk/src/wp-includes/class-wp-customize-section.php
r31905 r31918 346 346 <span class="screen-reader-text"><?php _e( 'Press return or enter to expand' ); ?></span> 347 347 </h3> 348 <span class="control-panel-back themes-panel-back" tabindex="-1"><span class="screen-reader-text"><?php _e( 'Back' ); ?></span></span>349 348 <div class="customize-themes-panel control-panel-content themes-php"> 350 349 <h2><?php esc_html_e( 'Themes' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.