End on valid click not working for text stim online

URL of experiment:
run: https://pavlovia.org/run/djangraw/mmi-survey-task/html/
code: https://gitlab.pavlovia.org/djangraw/mmi-survey-task/tree/master

Description of the problem: After two instruction screens, the user is asked to click one of the rungs on a ladder. I’ve placed a transparent “X” on each rung, and made these X’s the valid objects for a mouse click response (so the experiment should advance when a rung is clicked). This works in Python, but the javascript version in the browser doesn’t accept any clicks. Any idea what might be going wrong?

@djangraw, yes it looks like the contains method for text components is not working correctly. Until this is fixed, you may want to use polygons instead. Set a rect polygon to the right size and position, and set the opacity to 0, and your task should work.