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"]);