Update viewer.js

This commit is contained in:
Sharpbarb 2013-10-08 21:45:26 -07:00
parent c6597806ba
commit 2f33e6c666

View File

@ -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