fixed shutdown not working on onboarding page
This commit is contained in:
parent
1322352fa2
commit
c0def6fb7e
4 changed files with 7 additions and 3 deletions
|
@ -19,6 +19,7 @@
|
|||
<script defer src='/private/js/console.js'></script>
|
||||
<script defer src='donate.js'></script>
|
||||
<script defer src='onboarding.js'></script>
|
||||
<script defer src="/shared/panel.js"></script>
|
||||
<script>alert("Content security policy appears to not be working. Your browser security is weak!")</script>
|
||||
</head>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ restartBtn = document.getElementById('restartNode')
|
|||
shutdownBtn.onclick = function(){
|
||||
if (! nowebpass){
|
||||
if (confirm("Really shutdown Onionr?")){
|
||||
httpGet('shutdownclean')
|
||||
httpGet('/shutdownclean')
|
||||
overlay('shutdownNotice')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue