crypto portfolio settings hide / show
This commit is contained in:
parent
cea1d2a538
commit
ab54618cca
@ -2506,4 +2506,22 @@ function portfolioValidate() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// crypto portfolio stuff
|
||||||
|
|
||||||
|
var portfolioCryptoCheckbox = document.getElementById("crypto_portfolio_checkbox");
|
||||||
|
if (portfolioCryptoCheckbox.checked) {
|
||||||
|
document.getElementById('crypto-portfolio').style.display = "block";
|
||||||
|
} else {
|
||||||
|
document.getElementById('crypto-portfolio').style.display = "none";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function portfolioCryptoValidate() {
|
||||||
|
var portfolioCryptoCheckbox = document.getElementById("crypto_portfolio_checkbox");
|
||||||
|
if (portfolioCryptoCheckbox.checked) {
|
||||||
|
document.getElementById('crypto-portfolio').style.display = "block";
|
||||||
|
} else {
|
||||||
|
document.getElementById('crypto-portfolio').style.display = "none";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user