Update app.js

This commit is contained in:
Justin 2023-09-13 21:59:17 +08:00 committed by GitHub
parent b4a5cdfd7a
commit 461a09c13c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1425,6 +1425,7 @@ function getTradingSettings(page) {
let point = page.querySelectorAll(".point-select")[0].checked;
let no_logos = page.querySelectorAll(".logo-select")[0].checked;
let title = page.querySelectorAll(".title-select")[0].checked;
let display_name = page.querySelectorAll(".name-select")[0].checked;
let symbols_el = page.querySelectorAll(".symbol-list")[0];
let symbols = getListItems(symbols_el);
@ -1439,6 +1440,7 @@ function getTradingSettings(page) {
symbols: symbols,
chart: portfolio,
lohivol: lohivol,
display_name: display_name,
};
}
else if (whatFeature == 1) {
@ -1454,6 +1456,7 @@ function getTradingSettings(page) {
symbols: symbols,
chart: portfolio,
lohivol: lohivol,
display_name: display_name,
};
}
else {
@ -1901,6 +1904,7 @@ function getMarketSettings(page) {
let point = page.querySelectorAll(".point-select")[0].checked;
let no_logos = page.querySelectorAll(".logo-select")[0].checked;
let lohivol = page.querySelectorAll(".lohivol-select")[0].checked;
let display_name = page.querySelectorAll(".name-select")[0].checked;
settings = {
title: title,
@ -1909,6 +1913,7 @@ function getMarketSettings(page) {
point: point,
logos: no_logos,
lohivol: lohivol,
display_name: display_name,
};
console.log(settings);
return settings;