web: url clearing
This commit is contained in:
parent
a73628491c
commit
07104226be
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue