kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Change update link if beta version
rodzic
f09e4b57be
commit
3c1c23a69b
|
|
@ -79,7 +79,11 @@
|
|||
} else if (data.latest == "Unknown"){
|
||||
//pass
|
||||
} else {
|
||||
$("#footertext").html("Update Available: <a href='https://github.com/projecthorus/radiosonde_auto_rx/releases' target='_blank'>" + data.latest + "</a>");
|
||||
if (data.latest.includes("-beta")) {
|
||||
$("#footertext").html("Update Available: <a href='https://github.com/projecthorus/radiosonde_auto_rx/commits/testing' target='_blank'>" + data.latest + "</a>");
|
||||
} else {
|
||||
$("#footertext").html("Update Available: <a href='https://github.com/projecthorus/radiosonde_auto_rx/releases' target='_blank'>" + data.latest + "</a>");
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue