Image fails to load in rare cases. Preload issue?

@yisrael-wix Hi Yisrael,

I think I have isolated further the problem. Or it might be a new problem.

I have a very simple code that creates an issue.

Here’s the page : www DOT harint DOT com / problematic2
Here’s the code :

$w.onReady(async function () {
    await $w("#image1").hide()
    await $w("#image2").hide()
    await $w("#image1").show("turn")
});

As you load the page the first time, the image will NOT show.

However, if you instead use this code (I just remove the argument “turn” ):

$w.onReady(async function () {
    await $w("#image1").hide()
    await $w("#image2").hide()
    await $w("#image1").show()
});

Then the image will show. So there might be a bug in the show function.