From 369a188ad9a2092d36a6d7f5c40e8c016242fa74 Mon Sep 17 00:00:00 2001 From: BigEd Date: Mon, 8 Nov 2010 09:03:13 +0000 Subject: [PATCH] use expertMode to suppress loglist actions in kiosk mode --- expertWires.js | 2 +- macros.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/expertWires.js b/expertWires.js index 3cf1155..85cc96e 100644 --- a/expertWires.js +++ b/expertWires.js @@ -52,7 +52,7 @@ var drawlayers = [true, true, true, true, true, true]; // some modes and parameters which can be passed in from the URL query var moveHereFirst; -var expertMode=false +var expertMode=true; var animateChipLayout = true; var userCode=[]; var userResetLow; diff --git a/macros.js b/macros.js index 9a76b55..81f8b54 100644 --- a/macros.js +++ b/macros.js @@ -157,7 +157,8 @@ function initChip(){ refresh(); cycle = 0; trace = Array(); - updateLogList(); + if(typeof expertMode != "undefined") + updateLogList(); chipStatus(); if(ctrace)console.log('initChip done after', now()-start); }