renamed function
This commit is contained in:
parent
49867cd86a
commit
17a0e0ea0e
@ -2912,16 +2912,20 @@ function removeStockPorftolio() {
|
||||
document.getElementById('inputText9').value = '';
|
||||
document.getElementById('inputText8').value = '';
|
||||
document.getElementById('inputText10').value = '';
|
||||
fetch("/deletePortfolioSettings", {
|
||||
|
||||
fetch("/deletePortfolioPosition", {
|
||||
method: "POST",
|
||||
body: JSON.stringify(remove_stock_symbol),
|
||||
});
|
||||
|
||||
document.getElementById('removed-stock-p').innerHTML = 'Stock Position Removed!';
|
||||
document.getElementById('removed-stock-p').style.display = "block";
|
||||
setTimeout(function hideElement() {
|
||||
document.getElementById('removed-stock-p').style.display = "none";
|
||||
}, 5000);
|
||||
} else {
|
||||
}
|
||||
|
||||
else {
|
||||
document.getElementById('removed-stock-p').innerHTML = 'No symbol selected.';
|
||||
document.getElementById('removed-stock-p').style.display = "block";
|
||||
setTimeout(function hideElement() {
|
||||
|
Loading…
Reference in New Issue
Block a user