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