web: url clearing
This commit is contained in:
parent
a73628491c
commit
07104226be
|
@ -68,8 +68,8 @@ function clear()
|
|||
}
|
||||
// clear URLs
|
||||
for (const field of urls) {
|
||||
const a = document.getElementById('url_' + field);
|
||||
a.href = null;
|
||||
const span = document.getElementById('url_' + field);
|
||||
span.innerHTML = span.innerText;
|
||||
}
|
||||
// clear tables
|
||||
for (const table of tables) {
|
||||
|
|
Loading…
Reference in New Issue