Ok – That makes sense. I’ll see if I can override that in the child theme.
Many thanks for pointing me in the right direction.
I’ve raised a ticket asking the developer to change the code:
https://support.advancedcustomfields.com/forums/topic/move-in-line-javascript-to-document-ready/