diff --git a/src/js/media/models/attachment.js b/src/js/media/models/attachment.js index cd29d2f98e..267624b7d6 100644 --- a/src/js/media/models/attachment.js +++ b/src/js/media/models/attachment.js @@ -39,7 +39,7 @@ Attachment = Backbone.Model.extend(/** @lends wp.media.model.Attachment.prototyp // Overload the `update` request so properties can be saved. } else if ( 'update' === method ) { - // If we do not have the necessary nonce, fail immeditately. + // If we do not have the necessary nonce, fail immediately. if ( ! this.get('nonces') || ! this.get('nonces').update ) { return $.Deferred().rejectWith( this ).promise(); } @@ -123,7 +123,7 @@ Attachment = Backbone.Model.extend(/** @lends wp.media.model.Attachment.prototyp saveCompat: function( data, options ) { var model = this; - // If we do not have the necessary nonce, fail immeditately. + // If we do not have the necessary nonce, fail immediately. if ( ! this.get('nonces') || ! this.get('nonces').update ) { return $.Deferred().rejectWith( this ).promise(); }