fix(services): check if image exists before getting siblings
This fixes an uncaught error that occurs when opening a Wax document with images. It first checks if the given image is loaded before attempting to get the figcaption
.
This fixes an uncaught error that occurs when opening a Wax document with images. It first checks if the given image is loaded before attempting to get the figcaption
.