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:
parent
0f0c850723
commit
6e847af943
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue