From 17ec2f922ea23bfe90ab83a5d8b25c39a8e583f1 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 13 Jun 2021 18:20:57 -0400 Subject: [PATCH] Remove some debug logging --- web/skins/classic/views/js/montagereview.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/web/skins/classic/views/js/montagereview.js b/web/skins/classic/views/js/montagereview.js index 557d3bd36..4650e7e21 100644 --- a/web/skins/classic/views/js/montagereview.js +++ b/web/skins/classic/views/js/montagereview.js @@ -275,17 +275,16 @@ function timerFire() { clearInterval(timerObj); timerObj = null; timerInterval = currentDisplayInterval; - console.log("Turn off nterrupts timerInterfave" + timerInterval); + console.log("Turn off interrupts timerInterfave" + timerInterval); } if ( (currentSpeed > 0 || liveMode != 0) && ! timerObj ) { timerObj = setInterval(timerFire, timerInterval); // don't fire out of live mode if speed is zero } - if ( liveMode ) { - console.log("liveMode"); + if (liveMode) { outputUpdate(currentTimeSecs); // In live mode we basically do nothing but redisplay - } else if ( currentTimeSecs + playSecsPerInterval >= maxTimeSecs ) { + } else if (currentTimeSecs + playSecsPerInterval >= maxTimeSecs) { // beyond the end just stop console.log("Current time " + currentTimeSecs + " + " + playSecsPerInterval + " >= " + maxTimeSecs + " so stopping"); setSpeed(0); @@ -637,7 +636,7 @@ function showSpeed(val) { } function setSpeed(speed_index) { - if ( liveMode == 1 ) { + if (liveMode == 1) { console.log("setSpeed in liveMode?"); return; // we shouldn't actually get here but just in case }