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:
parent
2caafbe1a0
commit
ee85740365
|
@ -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
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue