update dashboard clock performance

- remove last bit of jquery
build-default-monitor-config-from-definitions
Moe 2020-04-06 18:12:51 -07:00
parent 79444adf72
commit cca53bde4c
1 changed files with 4 additions and 2 deletions

View File

@ -42,9 +42,11 @@ $(document).ready(function() {
updateDate() updateDate()
},1000 * 60 * 60); },1000 * 60 * 60);
updateDate() updateDate()
$('#clock').click(function(){ document.getElementById("clock").onclick = function(){
timeHour.classList.toggle('twentyfour') timeHour.classList.toggle('twentyfour')
currentHour = null
setAll() setAll()
currentHour = newDate.getHours()
updateDate() updateDate()
}) }
}); });