mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-20 09:41:45 +03:00
Update viewer.js
Moved call to _updateSequenceButtons inside if ( initialTileSource )
This commit is contained in:
parent
4535f47e8d
commit
3078642927
@ -352,10 +352,10 @@ $.Viewer = function( options ) {
|
|||||||
|
|
||||||
if ( initialTileSource ) {
|
if ( initialTileSource ) {
|
||||||
this.open( initialTileSource );
|
this.open( initialTileSource );
|
||||||
}
|
|
||||||
|
|
||||||
if ( this.tileSources.length > 1 ) {
|
if ( this.tileSources.length > 1 ) {
|
||||||
this._updateSequenceButtons( this.initialPage );
|
this._updateSequenceButtons( this.initialPage );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( i = 0; i < this.customControls.length; i++ ) {
|
for ( i = 0; i < this.customControls.length; i++ ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user