diff --git a/static/app.js b/static/app.js index bc4cb4c..d023347 100755 --- a/static/app.js +++ b/static/app.js @@ -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"; + } +}