@jonatandor35
I tested my given code. it seems to work good.
And yes, because you have eliminated all my other AWAITs, now it looks like it is not a correction anymore
(Yes i know about then , but i do not like to use it.)
But fact is, that my simple example works, just like it should.
- the first image fades out.
- the image-src changes…
- and then it fades in the new image (image with new src).
This was the wanted function.![]()