more polish

This commit is contained in:
Marco Andronaco 2023-08-12 15:46:21 +02:00
parent bb331c5170
commit 5c052156e6
1 changed files with 2 additions and 4 deletions

View File

@ -260,16 +260,14 @@ function getArtworks() {
get_button.disabled = true;
get_button.innerText = "🔄"
postData("/", { month: month_value }).then((data) => {
const new_data = data.map((element) => {
fanarts.push(...data.map((element) => {
return {
...element,
"enabled": 1,
"rotated": 0,
"watermark": { invert: "" },
};
});
fanarts.push(...new_data);
}));
controls_div.hidden = false;
updateOpacity();
updateFanartList();