Onionr/onionr/static-data/www/shared/panel.js
2019-02-02 17:10:04 -06:00

12 lines
298 B
JavaScript
Executable File

shutdownBtn = document.getElementById('shutdownNode')
refreshStatsBtn = document.getElementById('refreshStats')
shutdownBtn.onclick = function(){
if (! nowebpass){
httpGet('shutdownclean')
overlay('shutdownNotice')
}
}
refreshStatsBtn.onclick = function(){
getStats()
}