USB power warning when upgrading

This commit is contained in:
Gunnar Skjold 2022-08-10 09:31:50 +02:00
parent 0b2ffbfd77
commit e6a02f34ab

View File

@ -878,7 +878,7 @@ var fetch = function() {
var upgrade = function() {
if(nextVersion) {
if(confirm("Are you sure you want to perform upgrade to " + nextVersion.tag_name + "?")) {
if(confirm("WARNING: Please keep USB power connected while upgrading. Are you sure you want to perform upgrade to " + nextVersion.tag_name + "?")) {
$('#loading-indicator').show();
window.location.href="/upgrade?version=" + nextVersion.tag_name;
}