From 022ab45ebbc60b7c2f18529a53b2f4994848ff02 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 4 Mar 2014 12:32:36 +0000 Subject: [PATCH] Fix code that skips filling in onTarget area. --- tools/htdocs/mkws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index a15bfcd..d53e2b3 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -259,7 +259,7 @@ function team($, teamName) { function onBytarget(data, teamName) { debug("target"); var targetDiv = findnode('.mkwsBytarget'); - if (!targetDiv) { + if (targetDiv.length === 0) { return; } -- 1.7.10.4