This commit is contained in:
kookroach
2021-04-05 03:18:37 +02:00
parent 3c708f8554
commit dcafea009c

View File

@@ -3,10 +3,10 @@
let heading = document.getElementById('heading'); let heading = document.getElementById('heading');
let description = document.getElementById('description'); let description = document.getElementById('description');
let input = document.getElementById('input'); let input = document.getElementById('input-value');
let close = document.getElementById('close'); let close = document.getElementById('close');
function setInputFieldType(value) { function setInputFieldType(value) {
if (input.type == value) return; if (input.type == value) return;
var field = document.createElement('input'); var field = document.createElement('input');