diff --git a/app/assets/js/scripts/settings.js b/app/assets/js/scripts/settings.js index 7a2a165..d0368d1 100644 --- a/app/assets/js/scripts/settings.js +++ b/app/assets/js/scripts/settings.js @@ -335,6 +335,7 @@ function bindServerCodeButtons(){ document.getElementById('settingsAddServerCode').onclick = () => { for(let ele of document.getElementsByClassName('settingsInputServerCodeVal')){ const code = ele.value + ele.value = '' if(!ConfigManager.getServerCodes().includes(code) && code){ ConfigManager.getServerCodes().push(code) ConfigManager.save()