From b89f2385b8cf3424357be06e0448fdd9b98b30f7 Mon Sep 17 00:00:00 2001 From: Adriaan Wormgoor Date: Wed, 16 Oct 2013 23:20:13 +0200 Subject: [PATCH] removed debug-method (thermo and progress (dis)appearing) --- js/main.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/js/main.js b/js/main.js index 2fcf0ff..4bcaa5f 100644 --- a/js/main.js +++ b/js/main.js @@ -98,25 +98,8 @@ $(function() { }, 1000); //*/ } - showhideInterval = setInterval(showOrHideThermo, 2500); }); -var showhideInterval; -var showOrHide = false; - -function showOrHideThermo() { - console.log("f:showOrHideThermo()"); - if (showOrHide) { - thermometer.hide(); - progressbar.hide(); - } else { - thermometer.show(); - progressbar.show(); - - } - showOrHide = !showOrHide; -} - function settingsLoaded() { console.log("settingsLoaded"); console.log("autoHeatup: ",settings["printer.heatup.enabled"]);