Working on using new data model
This commit is contained in:
@@ -14,3 +14,10 @@ function newOption(elementId, name) {
|
||||
el.prepend(child)
|
||||
el.value = newValue
|
||||
}
|
||||
|
||||
window.onload = function() {
|
||||
var elements = document.getElementsByClassName("to-delete")
|
||||
while (elements.length > 0) {
|
||||
elements[0].remove()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user