fixed remove messages, images, gifs in JS bug

This commit is contained in:
Neythen Treloar 2022-02-26 16:44:14 +00:00
parent 20bfab5574
commit e3d88133da
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
{"update_available": false, "first_boot": true}
{"update_available": false, "first_boot": false}

View File

@ -486,6 +486,7 @@ allFeaturesRemoveBtns.map((value, index) => {
var item = allFeaturesList[index][i];
console.log(item);
if (item.getAttribute("class") == "active") {
/*
if (item.parentElement.getAttribute("id") == "images-features") {
let getImages = JSON.parse(localStorage.getItem("customImages"));
@ -511,8 +512,9 @@ allFeaturesRemoveBtns.map((value, index) => {
localStorage.setItem("customMsg", JSON.stringify(filter));
}
else {
*/
item.remove();
}
//}
}
}
});