# HG changeset patch # User Nicholas Jillings # Date 1550749457 0 # Node ID a21b88d212b695bc0b4f28becff7b34e6798e796 # Parent 5419fc9cbb15d6a9d22c83696f1d88c5c848a794 Fix for #287 diff -r 5419fc9cbb15 -r a21b88d212b6 js/core.js --- a/js/core.js Wed Nov 28 13:52:04 2018 +0000 +++ b/js/core.js Thu Feb 21 11:44:17 2019 +0000 @@ -1202,6 +1202,7 @@ this.store.postResult(node); }, this); this.store.complete(); + testState.stateIndex++; advanceState(); } }; @@ -1369,7 +1370,6 @@ storage.update(); } if (this.stateIndex == -2) { - this.stateIndex++; if (this.preTestSurvey !== undefined) { popup.initState(this.preTestSurvey, storage.globalPreTest); } else { @@ -3838,7 +3838,7 @@ if (window.returnURL !== undefined) { returnURL = String(window.returnURL); } - + var chainCount = 0; var chainPosition = chainCount;