From 78ee424486559ab31d62916477741cf28f0fd30f Mon Sep 17 00:00:00 2001 From: Kris Zhang Date: Tue, 23 Feb 2016 15:45:53 +0800 Subject: [PATCH] In run.js, change the line 165: else if ("checkResults") ==> else if (action == "checkResults") --- run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.js b/run.js index e1e5a86..b835a93 100644 --- a/run.js +++ b/run.js @@ -162,7 +162,7 @@ function start () { wdi.Debug.log('Detected time lapse of ', params, 'seconds'); } else if (action == 'error') { // alert('error'); - } else if ("checkResults") { + } else if (action == "checkResults") { var cnv = $('#canvas_0')[0]; var ctx = cnv.getContext('2d'); var currentImgData = ctx.getImageData(0, 0, cnv.width, cnv.height);