1
0
forked from w0bm/f0bm

fixed issues with the random button and hotkeys

This commit is contained in:
eins
2026-01-23 14:07:52 +00:00
parent b72fcaa426
commit 6799ec1567
5 changed files with 85 additions and 76 deletions

View File

@@ -130,12 +130,12 @@
return false;
}
renderTags(res.tags);
span.parentElement.removeChild(span);
if (span.parentElement) span.parentElement.removeChild(span);
testList.innerText = "";
addtagClick();
}
else if (e.key === "Escape") {
span.parentElement.removeChild(span);
if (span.parentElement) span.parentElement.removeChild(span);
testList.innerText = "";
}
else {