Widgets: Fix deferred rendering of controls for media widgets until container element fully expands.

Adds omitted call to `renderWhenAnimationDone()` which was missed when this code was copied from the Text widget.

Amends [40656].
See #40750.

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


git-svn-id: http://core.svn.wordpress.org/trunk@40523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-05-12 22:01:42 +00:00
parent 498613ccd7
commit 3ce794812d
3 changed files with 3 additions and 2 deletions

View File

@ -1065,6 +1065,7 @@ wp.mediaWidgets = ( function( $ ) {
widgetControl.render();
}
};
renderWhenAnimationDone();
/*
* Note that the model and control currently won't ever get garbage-collected

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-40659';
$wp_version = '4.8-alpha-40660';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.