Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
BF: html outputs incorrect naming of components in endRoutine code
  • Loading branch information
peircej committed Mar 15, 2017
1 parent 8c32d1c commit e47d90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psychopy/app/builder/experiment.py
Expand Up @@ -2156,7 +2156,7 @@ def writeRoutineEndCodeJS(self, buff):

code = ("//------Ending Routine '{name}'-------\n"
"for (var i = 0; i < {name}Components.length; ++i) {{\n"
' thisComponent = trialComponents[i];\n'
' thisComponent = {name}Components[i];\n'
' if ("setAutoDraw" in thisComponent) {{\n'
" thisComponent.setAutoDraw(false);\n"
" }}\n"
Expand Down

0 comments on commit e47d90a

Please sign in to comment.