mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-29 11:49:50 +03:00
setting booleans the easy way
This commit is contained in:
parent
bac2cab8e9
commit
1baf086e1b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue