minor fixes

This commit is contained in:
Justin 2023-07-11 19:26:11 +08:00 committed by GitHub
parent c61623198e
commit 9636670336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2918,7 +2918,7 @@ function removeStockPorftolio() {
body: JSON.stringify(remove_stock_symbol),
});
document.getElementById('removed-stock-p').innerHTML = 'Stock Position Removed!';
document.getElementById('stockremoved-p').innerHTML = 'Stock Position Removed!';
document.getElementById('removed-stock-p').style.display = "block";
setTimeout(function hideElement() {
document.getElementById('removed-stock-p').style.display = "none";
@ -2926,7 +2926,7 @@ function removeStockPorftolio() {
}
else {
document.getElementById('removed-stock-p').innerHTML = 'No symbol selected.';
document.getElementById('stockremoved-p').innerHTML = 'No symbol selected.';
document.getElementById('removed-stock-p').style.display = "block";
setTimeout(function hideElement() {
document.getElementById('removed-stock-p').style.display = "none";