diff --git a/src/tiledimage.js b/src/tiledimage.js index 4f3d477c..bff8603a 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -781,7 +781,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag * @param {Boolean} whether to load tiles without drawing in this tiledImage. */ setPreload: function(preload) { - this.preload = Boolean(preload); + this.preload = (true == preload); this._needsDraw = true; },