mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Removed Boolean constructor from pre-load patch
This commit is contained in:
parent
e8971b2940
commit
d2c58c43aa
@ -812,7 +812,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||||||
* Set true to load even when hidden. Set false to block loading when hidden.
|
* Set true to load even when hidden. Set false to block loading when hidden.
|
||||||
*/
|
*/
|
||||||
setPreload: function(preload) {
|
setPreload: function(preload) {
|
||||||
this._preload = new Boolean(preload).valueOf();
|
this._preload = !!preload;
|
||||||
this._needsDraw = true;
|
this._needsDraw = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user