mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
The previous solution failed to take into account that it would have been trigger on any turbo steam rendering action, not just the product preview one. Now the open event is dispatched when the product preview controller is connected, which happens when the modal html is rendered.