bugfixing

This commit is contained in:
Blue 2018-11-20 14:44:05 +03:00
parent eccaa98d9a
commit f26cdc128b

View File

@ -9,9 +9,9 @@ class Form extends UI {
this._linesById = Object.create(null); this._linesById = Object.create(null);
} }
addLine(id, label, editor) { addLine(id, label, editor) {
let line = document.create("div"); let line = document.createElement("div");
let labelCell = document.create("div"); let labelCell = document.createElement("div");
let editorCell = document.create("div"); let editorCell = document.createElement("div");
labelCell.innerText = label; labelCell.innerText = label;
editorCell.appendChild(editor.element); editorCell.appendChild(editor.element);