Onionr/onionr/static-data/www/shared/panel.js

12 lines
298 B
JavaScript
Raw Normal View History

2019-02-02 03:49:11 +00:00
shutdownBtn = document.getElementById('shutdownNode')
refreshStatsBtn = document.getElementById('refreshStats')
shutdownBtn.onclick = function(){
if (! nowebpass){
httpGet('shutdownclean')
overlay('shutdownNotice')
}
}
refreshStatsBtn.onclick = function(){
getStats()
}