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.


git-svn-id: https://develop.svn.wordpress.org/trunk@40660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2017-05-12 22:00:51 +00:00
parent 0f0c850723
commit 6e847af943
1 changed files with 1 additions and 0 deletions

View File

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