Add: warning on logining Pleroma, PixelFed or something compatible platform

This commit is contained in:
Cutls
2019-09-30 02:29:26 +09:00
parent c5cdabaa3a
commit c5cd683aa5
2 changed files with 6 additions and 0 deletions

View File

@@ -363,6 +363,11 @@ function versionChecker(url) {
function versionCompat(url, ver, title, real) {
$("#compt-instance").text(title)
$("#compt-ver").text(real)
if(~real.indexOf("compatible")){
$("#compt-warn").show()
}else{
$("#compt-warn").hide()
}
$("#compt-list").html("")
var start = "../../source/version.json";
fetch(start, {