mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
revised tileSize check as suggested by @msalsbery
This commit is contained in:
parent
820cdb90f8
commit
47463161b4
@ -44,7 +44,7 @@
|
|||||||
* @param {String} tilesUrl
|
* @param {String} tilesUrl
|
||||||
*/
|
*/
|
||||||
$.ZoomifyTileSource = function(options) {
|
$.ZoomifyTileSource = function(options) {
|
||||||
if(options.tileSize === undefined){
|
if(typeof options.tileSize === 'undefined'){
|
||||||
options.tileSize = 256;
|
options.tileSize = 256;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user