Media Modal: Fix 'Insert from URL' oEmbed previews.

props johnbillion, azaozz.
fixes #29473.


git-svn-id: https://develop.svn.wordpress.org/trunk@29680 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-09-03 00:36:31 +00:00
parent 2cb48c1039
commit 43f68edbe2
1 changed files with 3 additions and 1 deletions

View File

@ -6866,7 +6866,9 @@
} ).done( _.bind( this.renderoEmbed, this ) );
},
renderoEmbed: function(html) {
renderoEmbed: function( response ) {
var html = ( response && response.body ) || '';
this.spinner.hide();
this.$('.setting.title').hide();