Hi everyone,
We have a JS code which enables a pause to appear after every 20 trials:
if (trials.thisN !== 20){
continueRoutine = false;
}
This code is working fine. But when we make slight changes to other routines in the experiment, the pause is not showing and no error message is displayed. It is not clear why changing routines which are not related to the routine with the code disables the code. And moreover, no error message is displayed. The experiment just goes on, but the pause message is not displayed.