Update app.js

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

View File

@ -1425,13 +1425,13 @@ 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);
if (whatFeature == 2) {
let portfolio = page.querySelectorAll(".portfolio-select")[0].checked;
let lohivol = page.querySelectorAll(".lohivol-select")[0].checked;
let display_name = page.querySelectorAll(".name-select")[0].checked;
settings = {
percent: percent,
point: point,
@ -1447,6 +1447,7 @@ function getTradingSettings(page) {
let prepost = page.querySelectorAll(".prepost-select")[0].checked;
let portfolio = page.querySelectorAll(".portfolio-select")[0].checked;
let lohivol = page.querySelectorAll(".lohivol-select")[0].checked;
let display_name = page.querySelectorAll(".name-select")[0].checked;
settings = {
prepost: prepost,
percent: percent,