| Reference | Downloads | Github

Browser compatibility issue - Safari

URL of experiment:

Description of the problem:

I have a piece of code that that checks whether all of 6 sliders (radio button) have a selection, and whether a ‘proceed’ button is clicked with the mouse:

if (responseChecker >= 6 && button.contains(mouse) && mouse.getPressed()[0] === 1)
continueRoutine = false;

This code works as intended when I run the experiment in Chrome. In Safari, though, the experiment gets stuck on that trial, i.e. does not advance when all things are selected and the button is clicked.

Any ideas?