fixed remove messages, images, gifs in JS bug
This commit is contained in:
parent
20bfab5574
commit
e3d88133da
@ -1 +1 @@
|
|||||||
{"update_available": false, "first_boot": true}
|
{"update_available": false, "first_boot": false}
|
@ -486,6 +486,7 @@ allFeaturesRemoveBtns.map((value, index) => {
|
|||||||
var item = allFeaturesList[index][i];
|
var item = allFeaturesList[index][i];
|
||||||
console.log(item);
|
console.log(item);
|
||||||
if (item.getAttribute("class") == "active") {
|
if (item.getAttribute("class") == "active") {
|
||||||
|
/*
|
||||||
if (item.parentElement.getAttribute("id") == "images-features") {
|
if (item.parentElement.getAttribute("id") == "images-features") {
|
||||||
let getImages = JSON.parse(localStorage.getItem("customImages"));
|
let getImages = JSON.parse(localStorage.getItem("customImages"));
|
||||||
|
|
||||||
@ -511,8 +512,9 @@ allFeaturesRemoveBtns.map((value, index) => {
|
|||||||
localStorage.setItem("customMsg", JSON.stringify(filter));
|
localStorage.setItem("customMsg", JSON.stringify(filter));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
*/
|
||||||
item.remove();
|
item.remove();
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user