diff --git a/Backends/HTML5/kha/LoaderImpl.hx b/Backends/HTML5/kha/LoaderImpl.hx index acf27d2b6..77f9bdc82 100644 --- a/Backends/HTML5/kha/LoaderImpl.hx +++ b/Backends/HTML5/kha/LoaderImpl.hx @@ -36,7 +36,7 @@ class LoaderImpl { img.onerror = function(event: Dynamic) failed({url: desc.files[0], error: event}); img.onload = function(event: Dynamic) done(Image.fromImage(img, readable)); img.crossOrigin = ""; - img.src = desc.files[0]; + img.src = desc.files[0] + '#' + Date.now().toString(); } }