diff --git a/src/main/resources/templates/fragments/navbar.html b/src/main/resources/templates/fragments/navbar.html index e5128121..e4c14caa 100644 --- a/src/main/resources/templates/fragments/navbar.html +++ b/src/main/resources/templates/fragments/navbar.html @@ -63,10 +63,10 @@ function compareVersions(version1, version2) { console.log("currentVersion=" + currentVersion) console.log("compareVersions(latestVersion, currentVersion) > 0)=" + compareVersions(latestVersion, currentVersion)) if (latestVersion != null && latestVersion != "" && compareVersions(latestVersion, currentVersion) > 0) { - document.getElementById("update-btn").style.visibility = "visible"; + document.getElementById("update-btn").style.display = "block"; console.log("visible") } else { - document.getElementById("update-btn").style.visibility = "hidden"; + document.getElementById("update-btn").style.display = "none"; console.log("hidden") } } @@ -273,6 +273,9 @@ function compareVersions(version1, version2) { icon Polski + + icon Romanian + icon Svenska