revised tileSize check as suggested by @msalsbery

This commit is contained in:
abraham lam 2020-08-10 11:22:19 -04:00
parent 820cdb90f8
commit 47463161b4

View File

@ -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;
} }