[XSS] Automatically reload page when clearing XSS choice from popup.
This commit is contained in:
parent
167a4f3f98
commit
4c6672bb21
|
@ -206,11 +206,14 @@ var UI = (() => {
|
||||||
delete xssUserChoices[o.value];
|
delete xssUserChoices[o.value];
|
||||||
o.remove();
|
o.remove();
|
||||||
}
|
}
|
||||||
|
let reloadAffected = false;
|
||||||
if (list.options.length === 0) {
|
if (list.options.length === 0) {
|
||||||
choicesUI.classList.remove("populated");
|
choicesUI.classList.remove("populated");
|
||||||
|
reloadAffected = true;
|
||||||
}
|
}
|
||||||
UI.updateSettings({
|
UI.updateSettings({
|
||||||
xssUserChoices
|
xssUserChoices,
|
||||||
|
reloadAffected,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue