Update viewer.js

This commit is contained in:
Sharpbarb 2013-10-08 17:10:26 -07:00
parent 54bcd6ea79
commit c6597806ba

View File

@ -205,6 +205,8 @@ $.Viewer = function( options ) {
this.initialPage = this.tileSources.length - 1 this.initialPage = this.tileSources.length - 1
initialTileSource = this.tileSources[ this.initialPage ]; initialTileSource = this.tileSources[ this.initialPage ];
//Update the sequence (aka currrent page) property
THIS[ this.hash ].sequence = this.initialPage; THIS[ this.hash ].sequence = this.initialPage;
} else { } else {
initialTileSource = this.tileSources; initialTileSource = this.tileSources;