mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Update viewer.js
This commit is contained in:
parent
c6597806ba
commit
2f33e6c666
@ -203,7 +203,8 @@ $.Viewer = function( options ) {
|
|||||||
//Keeps the initial page within bounds
|
//Keeps the initial page within bounds
|
||||||
if ( this.initialPage > this.tileSources.length - 1){
|
if ( this.initialPage > this.tileSources.length - 1){
|
||||||
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
|
//Update the sequence (aka currrent page) property
|
||||||
|
Loading…
Reference in New Issue
Block a user