mirror of
https://github.com/shouptech/tempgopher.git
synced 2026-02-03 16:49:42 +00:00
parent
a167da2230
commit
1ce594d540
1 changed files with 5 additions and 3 deletions
|
|
@ -153,13 +153,15 @@ function appendData(data) {
|
|||
"coolminutes": parseFloat(cmIn.val()),
|
||||
"verbose": configData.verbose
|
||||
}])
|
||||
})
|
||||
window.setInterval(renderThermostats, 60000);
|
||||
});
|
||||
window.clearInterval(rtHandle);
|
||||
rtHandle = window.setInterval(renderThermostats, 60000);
|
||||
renderThermostats();
|
||||
});
|
||||
|
||||
var noButton = $("<button></button>").addClass("button").text("✘").click(function() {
|
||||
window.setInterval(renderThermostats, 60000);
|
||||
window.clearInterval(rtHandle);
|
||||
rtHandle = window.setInterval(renderThermostats, 60000);
|
||||
renderThermostats();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue