diff --git a/src/wp-includes/js/media-grid.js b/src/wp-includes/js/media-grid.js index 512437f2f0..590cf2c5ca 100644 --- a/src/wp-includes/js/media-grid.js +++ b/src/wp-includes/js/media-grid.js @@ -244,9 +244,9 @@ // Create a new EditAttachment frame, passing along the library and the attachment model. this.editAttachmentFrame = new media.view.Frame.EditAttachments({ - router: this.gridRouter, - library: library, - model: model + gridRouter: this.gridRouter, + library: library, + model: model }); // Listen to events on the edit attachment frame for triggering pagination callback handlers.