getsectorsettings

This commit is contained in:
Justin 2023-08-14 18:06:47 +08:00 committed by GitHub
parent a78e145fc0
commit 840a5813de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1812,6 +1812,24 @@ function getMarketSettings(page) {
return settings;
}
// sector settings
function getSectorSettings(page) {
let title = page.querySelectorAll(".title-select")[0].checked;
let categories = getListItems(page.querySelectorAll(".symbol-list")[0]);
let no_logos = page.querySelectorAll(".logo-select")[0].checked;
settings = {
title: title,
categories: categories,
logos: no_logos,
};
console.log(settings);
return settings;
}
// jokes settings
function getJokesSettings(page) {