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

Props mattwiebe.
Fixes #36050.

Built from https://develop.svn.wordpress.org/trunk@36805


git-svn-id: http://core.svn.wordpress.org/trunk@36772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2016-03-02 18:37:26 +00:00
parent 2caafbe1a0
commit ee85740365
3 changed files with 3 additions and 3 deletions

View File

@ -685,7 +685,7 @@
// Fix the height after browser resize.
$( window ).on( 'resize.customizer-section', _.debounce( resizeContentHeight, 100 ) );
section._recalculateTopMargin();
setTimeout( _.bind( section._recalculateTopMargin, section ), 0 );
};
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-beta1-36804';
$wp_version = '4.5-beta1-36805';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.