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:
parent
498613ccd7
commit
3ce794812d
|
@ -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
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue