mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-22 01:33:14 +03:00
Update iiiftilesource.js
This commit is contained in:
parent
acd55c709d
commit
8f8e028015
@ -76,8 +76,8 @@ $.IIIFTileSource = function( options ){
|
|||||||
}
|
}
|
||||||
if ( mf < 0 ) { options.maxLevel = Number(Math.ceil(Math.log(Math.max(this.width, this.height ), 2))); }
|
if ( mf < 0 ) { options.maxLevel = Number(Math.ceil(Math.log(Math.max(this.width, this.height ), 2))); }
|
||||||
else { options.maxLevel = mf; }
|
else { options.maxLevel = mf; }
|
||||||
}
|
}
|
||||||
|
|
||||||
$.TileSource.apply( this, [ options ] );
|
$.TileSource.apply( this, [ options ] );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user