| Reference | Downloads | Github

Experiment Not Ending Properly, Displays: Unspecified Javascript Error

URL of experiment: Pavlovia

Description of the problem: My last routine asks the participant to end the routine by pressing “Space”. Then I have a keyboard component that checks “Force end of Routine” and only allows ‘space’ as the allowable key.
I changed my last routine to end after 5 seconds.

These are some images of the error messages I got after the end duration.

Do you have Object.prototype.upper = “”.toUpperCase; in code_JS? If so, please remove it and try again. I now recommend .upper be manually translated to .toUpperCase