From a2b2ecaa29cdadc34dc97fae51f79f75e8e890f3 Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Thu, 1 Nov 2012 11:24:46 -0700 Subject: [PATCH] Fix the initialization of the first page for multiple testing rounds. --- test/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/driver.js b/test/driver.js index df5494021..a0e3bc252 100644 --- a/test/driver.js +++ b/test/driver.js @@ -206,7 +206,7 @@ function nextPage(task, loadError) { if (isLastPage(task)) { if (++task.round < task.rounds) { log(' Round ' + (1 + task.round) + '\n'); - task.pageNum = 1; + task.pageNum = task.firstPage || 1; } else { ++currentTaskIdx; nextTask();