diff --git a/ner-edith.js b/ner-edith.js index d36a5f2..e6bcb3d 100644 --- a/ner-edith.js +++ b/ner-edith.js @@ -78,8 +78,12 @@ function setupInterface(data, file) { } } + let editingTd; + function updateTable() { + editingTd = null; + let editable_html = ` @@ -235,8 +239,6 @@ function setupInterface(data, file) { $('.saveButton').on('click', saveFile) - let editingTd; - function finishTdEdit(td, isOk) { if (isOk) {