WordPress.org

Make WordPress Core

Changeset 36805


Ignore:
Timestamp:
03/02/2016 06:36:26 PM (5 years ago)
Author:
westonruter
Message:

Customize: Remove gap above section contained in panel when initially focusing on control.

Props mattwiebe.
Fixes #36050.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-controls.js

    r36796 r36805  
    686686                        $( window ).on( 'resize.customizer-section', _.debounce( resizeContentHeight, 100 ) );
    687687
    688                         section._recalculateTopMargin();
     688                        setTimeout( _.bind( section._recalculateTopMargin, section ), 0 );
    689689                    };
    690690                }
Note: See TracChangeset for help on using the changeset viewer.