diff --git a/js/resource-space-vc.js b/js/resource-space-vc.js index 5e1be7b..49fa8e7 100644 --- a/js/resource-space-vc.js +++ b/js/resource-space-vc.js @@ -33,7 +33,7 @@ var contentRegion = wp.media.frame.views.get( '.media-frame-content' ); if ( contentRegion[0] ) { - contentRegion.collection.add( this.attachments ); + contentRegion[0].collection.add( this.attachments ); } this.complete();