diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index 8594f0738a..5d8cee5735 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -556,7 +556,7 @@ }, reset: function() { - _.each( _.without( _.keys( this.attributes ), _.keys( this.defaults ) ), function( key ) { + _.each( _.difference( _.keys( this.attributes ), _.keys( this.defaults ) ), function( key ) { this.unset( key ); }, this );