added display portfolio for global stocks

This commit is contained in:
Justin 2023-09-25 22:32:55 +08:00 committed by GitHub
parent 5673bebad2
commit c6ca87adc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3103,6 +3103,17 @@ function portfolioCryptoValidate() {
} }
// global stock portoflio stuff
function globalportfolioValidate() {
var portfolioGlobalCheckbox = document.getElementById("globalstocks_portfolio");
if (portfolioGlobalCheckbox.checked) {
document.getElementById('globalstocks-portfolio').style.display = "block";
} else {
document.getElementById('globalstocks-portfolio').style.display = "none";
}
}
// screensaver show div // screensaver show div
function showScreensaver() { function showScreensaver() {
document.getElementById('screensaver-div').style.display = "block"; document.getElementById('screensaver-div').style.display = "block";