From 47463161b402b7bc2a7e347ec9ff22928ba3a620 Mon Sep 17 00:00:00 2001 From: abraham lam Date: Mon, 10 Aug 2020 11:22:19 -0400 Subject: [PATCH] revised tileSize check as suggested by @msalsbery --- src/zoomifytilesource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zoomifytilesource.js b/src/zoomifytilesource.js index 3cf48071..7b62a6a8 100644 --- a/src/zoomifytilesource.js +++ b/src/zoomifytilesource.js @@ -44,7 +44,7 @@ * @param {String} tilesUrl */ $.ZoomifyTileSource = function(options) { - if(options.tileSize === undefined){ + if(typeof options.tileSize === 'undefined'){ options.tileSize = 256; }