From aab2ca75e89478746c2041ee1c6f19a0743e21ca Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 15 Sep 2023 17:32:21 +0200 Subject: [PATCH] wait #6269 @0.25 --- js/libs/fluidbook/fluidbook.loader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/libs/fluidbook/fluidbook.loader.js b/js/libs/fluidbook/fluidbook.loader.js index d1be3759..30af3e3f 100644 --- a/js/libs/fluidbook/fluidbook.loader.js +++ b/js/libs/fluidbook/fluidbook.loader.js @@ -566,6 +566,7 @@ FluidbookLoader.prototype = { _preloadContentLinkTextures: function (page, clinks, links, enter, callback) { var textures = {}; + let $this=this; var cl = ''; $.each(clinks, function (blendmode, links) { @@ -601,7 +602,7 @@ FluidbookLoader.prototype = { nb++; var i = $(this).data('id'); var url = $(this).data('image').replace(/^\.\./, 'data') + '?j=' + (new Date()).getTime(); - textures[i] = loadImage(this.getURL(url), cb, 'i_' + i); + textures[i] = $this.loadImage($this.getURL(url), cb, 'i_' + i); }); if (nb === 0) { -- 2.39.5