Sliders not displaying in online study in certain browsers

Begin Routine

rated=0

Each Frame

if rated==0 and your_slider_component.getRating() != undefined:
    rated=t
elif rated > 0 and t > rated+.5:
    continueRoutine=False

Although this is Python code for an auto translate box, it might need a tweak to run locally (because undefined might not be the correct term).