This commit is contained in:
Ty Clifford
2026-07-03 07:31:09 -04:00
commit cebb0d3af1
800 changed files with 89782 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
function getLatestVersion() {
console.log("[INFO] [PLUGIN VERSION] Getting list of versions of Bludit.");
$.ajax({
url: "https://version.bludit.com",
method: "GET",
dataType: 'json',
success: function(json) {
console.log("[INFO] [PLUGIN VERSION] Request completed.");
// Constant BLUDIT_BUILD is defined on variables.js
if (json.stable.build > BLUDIT_BUILD) {
$(".current-version").hide();
$(".new-version").show();
}
},
error: function(json) {
console.log("[WARN] [PLUGIN VERSION] There is some issue to get the version status.");
}
});
}
getLatestVersion();