diff --git a/src/ui/ui.js b/src/ui/ui.js index 445478e..39fca3e 100644 --- a/src/ui/ui.js +++ b/src/ui/ui.js @@ -206,11 +206,14 @@ var UI = (() => { delete xssUserChoices[o.value]; o.remove(); } + let reloadAffected = false; if (list.options.length === 0) { choicesUI.classList.remove("populated"); + reloadAffected = true; } UI.updateSettings({ - xssUserChoices + xssUserChoices, + reloadAffected, }); }; }