PennController for IBEX › Forums › Support › Adding break trials › Reply To: Adding break trials
June 17, 2020 at 11:09 am
#5660
Jeremy
Keymaster
Hi Max,
Replace this line:
for (let j = 0; j < sep.length; ++j)
with this:
for (let j = 0; j < sep.length && main.length>0; ++j)
Jeremy