media_modal: fix image load handler wiring #454

Merged
floatingghost merged 1 commit from novenary/akkoma-fe:media_modal/load_handler into develop 2025-10-14 12:40:55 +00:00
Showing only changes of commit f6bf484d4b - Show all commits

media_modal: fix image load handler wiring
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending approval
ci/woodpecker/pull_request_closed/woodpecker Pipeline is pending approval

The media modal was changed to use still_image, but the attribute
pointing to the image load event handler wasn't updated.
This causes the modal to remain in the loading state forever.

Fixes: f48138c979
novenary 2025-10-14 15:36:22 +03:00

View file

@ -30,7 +30,7 @@
:src="currentMedia.url"
:alt="currentMedia.description"
:title="currentMedia.description"
@load="onImageLoaded"
:image-load-handler="onImageLoaded"
noStopGifs="true"
/>
</PinchZoom>