From afe1a876c7c1b0b01d168e821d4f64fafbbae480 Mon Sep 17 00:00:00 2001 From: edoardoo Date: Sun, 9 Aug 2015 06:28:32 +0200 Subject: [PATCH] fix --- public/scripts/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/functions.js b/public/scripts/functions.js index 3519d37..ac7f6f4 100644 --- a/public/scripts/functions.js +++ b/public/scripts/functions.js @@ -30,13 +30,13 @@ function prePopulate(honeyCells){ loadImageGroup(urls, function(urlToImageMap) { //all are loaded. draw to canvas here + document.getElementById("honeyComb").innerHTML=""; if( honeyCells.constructor === Array){ for (var i = 0; i < honeyCells.length; i++) { populateHoneycomb( honeyCells[i], i ); }; }else{ - document.getElementById("honeyComb").innerHTML=""; populateHoneycomb( honeyCells , 0); } });