Update app.js
This commit is contained in:
parent
b4a5cdfd7a
commit
461a09c13c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user