getmarketsettings
This commit is contained in:
parent
9085f91070
commit
88fb037266
@ -1763,6 +1763,28 @@ function getEconomicSettings(page) {
|
||||
}
|
||||
|
||||
|
||||
// market settings
|
||||
function getMarketSettings(page) {
|
||||
|
||||
let title = page.querySelectorAll(".title-select")[0].checked;
|
||||
let categories = getListItems(page.querySelectorAll(".symbol-list")[0]);
|
||||
let percent = page.querySelectorAll(".percent-select")[0].checked;
|
||||
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;
|
||||
|
||||
settings = {
|
||||
title: title,
|
||||
categories: categories,
|
||||
percent: percent,
|
||||
point: point,
|
||||
logos: no_logos,
|
||||
lohivol: lohivol,
|
||||
};
|
||||
console.log(settings);
|
||||
return settings;
|
||||
}
|
||||
|
||||
// jokes settings
|
||||
function getJokesSettings(page) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user