From 17c0f9df77cf7798b1d33a7579de871fe28a291d Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Fri, 24 Apr 2026 22:32:13 +0200 Subject: [PATCH] not that simple --- modules/web/web.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/web/web.js b/modules/web/web.js index bcffa4f..172d59e 100644 --- a/modules/web/web.js +++ b/modules/web/web.js @@ -227,7 +227,10 @@ function renderQueue() { ul.innerHTML = ""; queue.forEach(path => { const li = document.createElement("li"); - li.textContent = path.replace(basePath, "").replace("!", "(unofficial) ").slice(1); + var c = path.replace(basePath, ""); + if(c.startsWith("!")) c = "(unofficial) " + c.slice(2) + else c = "(official) " + c.slice(1) + li.textContent = c; if (skipCountToRender > 0) { li.style.textDecoration = "line-through"; skipCountToRender--;