diff --git a/src/viewer.js b/src/viewer.js index 8d43b7cc..88e2dec7 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -203,7 +203,8 @@ $.Viewer = function( options ) { //Keeps the initial page within bounds if ( this.initialPage > this.tileSources.length - 1){ this.initialPage = this.tileSources.length - 1 - + } + initialTileSource = this.tileSources[ this.initialPage ]; //Update the sequence (aka currrent page) property