diff --git a/static/app.js b/static/app.js index dca2f52..ac3aaa7 100755 --- a/static/app.js +++ b/static/app.js @@ -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) {