File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1234,7 +1234,7 @@ function onLoad() {
1234
1234
setInterval ( refreshUI , 1000 ) ;
1235
1235
if ( location . pathname === "/ota" ) {
1236
1236
let params = new URLSearchParams ( location . search . substring ( 1 ) ) ;
1237
- return downloadUpdate ( params . get ( "url" ) , el ( "update_btn_spinner " ) , el ( "update_status" ) ) ;
1237
+ return downloadUpdate ( params . get ( "url" ) , el ( "fw_spinner " ) , el ( "update_status" ) ) ;
1238
1238
} else if ( location . pathname !== "/" ) {
1239
1239
reloadPage ( ) ;
1240
1240
}
@@ -1498,7 +1498,7 @@ el("revert_btn").onclick = function () {
1498
1498
1499
1499
el ( "revert_msg" ) . style . display = "block" ;
1500
1500
let stockURL = `https://rojer.me/files/shelly/stock/${ lastInfo . stock_fw_model } .zip` ;
1501
- downloadUpdate ( stockURL , el ( "revert_btn_spinner " ) , el ( "revert_status" ) ) ;
1501
+ downloadUpdate ( stockURL , el ( "fw_spinner " ) , el ( "revert_status" ) ) ;
1502
1502
} ;
1503
1503
1504
1504
function setPreviewColor ( c ) {
You can’t perform that action at this time.
0 commit comments