Commit 83472789 834727891adbc158807c67df23910fa742f41bbe by Nicolas Perriault

fixed #34 - avoid having previously loaded DOM contents being still active on run complete

1 parent 5c3db051
...@@ -202,6 +202,7 @@ ...@@ -202,6 +202,7 @@
202 } else { 202 } else {
203 self.result.time = new Date().getTime() - self.startTime; 203 self.result.time = new Date().getTime() - self.startTime;
204 self.log("Done " + self.steps.length + " steps in " + self.result.time + 'ms.', "info"); 204 self.log("Done " + self.steps.length + " steps in " + self.result.time + 'ms.', "info");
205 self.page.content = ''; // avoid having previously loaded DOM contents being still active (refs #34)
205 clearInterval(self.checker); 206 clearInterval(self.checker);
206 if (isType(onComplete, "function")) { 207 if (isType(onComplete, "function")) {
207 try { 208 try {
......