diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js index 921ccd12..5b47b266 100644 --- a/src/iiiftilesource.js +++ b/src/iiiftilesource.js @@ -51,7 +51,7 @@ $.IIIFTileSource = function( options ){ $.extend( true, this, options ); - if ( !( this.height && this.width && this['@id'] ) ) { + if ( !( this.height && this.width && (this['@id'] || this['id']) ) ) { throw new Error( 'IIIF required parameters not provided.' ); }