mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 08:36:10 +03:00
Update viewer.js
This commit is contained in:
parent
c6597806ba
commit
2f33e6c666
@ -203,6 +203,7 @@ $.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 ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user