diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index fe93e5d2e8..6da5cb366b 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -540,6 +540,9 @@ }, render: function() { + // Detach the list from the DOM to prevent event removal. + this.$list.detach(); + this.$el.html( this.template( this.options ) ).append( this.$list ); this.refresh(); return this;