URL of experiment: https://run.pavlovia.org/Am8302/multipleoutcomes2/html/
Description of the problem: I am trying to set the value of an image to none. This works ok in builder/python but not in JS.
The python code is:
if stimA:
stimL = stimList[int(stimA)-1]
else:
stimL = None
if stimB:
stimR = stimList[int(stimB)-1]
else:
stimR = None
and the JS:
if (stimA!=undefined) {
stimL = stimList[(stimA)-1]
}
else {
stimL = None}
if (stimB!=undefined){
stimR = stimList[(stimB)-1]
}
else{
stimR = None}
I’m also having the issue that the experiment will currently only run on Chrome and freezes on Safari - not sure if this is related.
Thanks,
Alice