don't provide "max rank" option for mods where maxRank=0

This commit is contained in:
Sainan 2025-04-22 00:48:51 +02:00
parent a49edefbd1
commit 45fbdd1f35

View File

@ -788,7 +788,7 @@ function updateInventory() {
{ {
const td = document.createElement("td"); const td = document.createElement("td");
td.classList = "text-end text-nowrap"; td.classList = "text-end text-nowrap";
{ if (maxRank != 0) {
const a = document.createElement("a"); const a = document.createElement("a");
a.href = "#"; a.href = "#";
a.onclick = function (event) { a.onclick = function (event) {