Skip to content

Commit

Permalink
fixed bug in critical struggle: was not ignoring 'done' button
Browse files Browse the repository at this point in the history
  • Loading branch information
d19fe8 committed Jul 5, 2017
1 parent ac60b7d commit 8f37438
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ function receive_transaction( e ){

//set conditions under which detector should update
//external state and history
if(e.data.actor == 'student' && e.data.tool_data.action != "UpdateVariable"){
if(e.data.actor == 'student' && e.data.tool_data.selection !="done" && e.data.tool_data.action != "UpdateVariable"){
detector_output.time = new Date();
detector_output.transaction_id = e.data.transaction_id;

Expand Down

0 comments on commit 8f37438

Please sign in to comment.