web: url clearing

This commit is contained in:
King Kévin 2023-01-30 12:11:00 +01:00
parent a73628491c
commit 07104226be
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ function clear()
} }
// clear URLs // clear URLs
for (const field of urls) { for (const field of urls) {
const a = document.getElementById('url_' + field); const span = document.getElementById('url_' + field);
a.href = null; span.innerHTML = span.innerText;
} }
// clear tables // clear tables
for (const table of tables) { for (const table of tables) {