diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index d6a5dc3aba..2cb5f879da 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -2550,10 +2550,10 @@ }); }, - destroy: function() { - this.remove(); + dispose: function() { this.toolbar.destroy(); this.attachments.destroy(); + media.View.prototype.dispose.apply( this, arguments ); }, render: function() {