diff --git a/src/save-load-options.js b/src/save-load-options.js index e9bb07c..b2224ba 100644 --- a/src/save-load-options.js +++ b/src/save-load-options.js @@ -255,15 +255,15 @@ async function removeLi() { also.removeChild(this.parentNode); let list = also.querySelectorAll("li"); list.forEach((li, index) => { - lhs = li.querySelector(".lhs"); + let lhs = li.querySelector(".lhs"); lhs.id = "lhs-" + index; lhs.name = lhs.id; - rhs = li.querySelector(".rhs"); + let rhs = li.querySelector(".rhs"); rhs.id = "rhs-" + index; rhs.name = rhs.id; - rhsLabel = li.querySelector("label"); + let rhsLabel = li.querySelector("label"); rhsLabel.for = rhs.id; }); }