Removed spaces by js when adding a new alert filter

This commit is contained in:
Matteo Biscosi 2021-02-12 11:29:59 +01:00
parent 1fd3a23863
commit c77c689f94
4 changed files with 7 additions and 3 deletions

View file

@ -313,7 +313,9 @@ const get_unit_times = (seconds) => {
/* ******************************************************* */
function getSanitizedScriptExList(script_exclusion_list) {
return script_exclusion_list.split("\n").join(";");
var ex_list_purified;
ex_list_purified = script_exclusion_list.split("\n").join(";");
return ex_list_purified.split(" ").join("");
}
/* ******************************************************* */