diff --git a/config_tool.html b/config_tool.html index f8994f6..ee42c90 100644 --- a/config_tool.html +++ b/config_tool.html @@ -328,6 +328,8 @@ load_button.onchange = () => { let reader = new FileReader(); + rules_list.innerHTML = ""; + modes_list.innerHTML = ""; reader.addEventListener("load", (event) => { let vote_rules = JSON.parse(event.target.result); for (let mode of vote_rules.modes)