mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-07-13 05:45:50 +00:00
add version to footer
This commit is contained in:
@ -36,6 +36,16 @@ function loadTypes(url, selector) {
|
||||
});
|
||||
}
|
||||
|
||||
function loadVersion() {
|
||||
$.ajax({
|
||||
url: "/api/v1/status",
|
||||
type: "GET",
|
||||
dataType: "json",
|
||||
success: function (data) { $("#sources-link").text(`ffxivbis ${data.version}`); },
|
||||
error: function (jqXHR, _, errorThrown) { requestAlert(jqXHR, errorThrown); },
|
||||
});
|
||||
}
|
||||
|
||||
function setupFormClear(dialog, reset) {
|
||||
dialog.on("hide.bs.modal", function () {
|
||||
$(this).find("form").trigger("reset");
|
||||
|
Reference in New Issue
Block a user