From 2f33e6c66671a1f498af9bc5aabae0264b618372 Mon Sep 17 00:00:00 2001 From: Sharpbarb Date: Tue, 8 Oct 2013 21:45:26 -0700 Subject: [PATCH] Update viewer.js --- src/viewer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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