diff --git a/static/app.js b/static/app.js index 66a133b..bc4cb4c 100755 --- a/static/app.js +++ b/static/app.js @@ -535,6 +535,16 @@ allFeaturesRemoveBtns.map((value, index) => { body: JSON.stringify(symbol), }); } + else if ((item.getAttribute("class") == "active") && (index == 1 )){ + let symbol = item.innerText; + item.remove(); + uploaded_images = []; + uploaded_GIFs = []; + fetch("/deletePortfolioCryptoSettings", { + method: "POST", + body: JSON.stringify(symbol), + }); + } else if (item.getAttribute("class") == "active") { item.remove(); uploaded_images = [];