more polish
BiRabittoh birabittoh@tilde.team
Sat, 12 Aug 2023 15:46:21 +0200
1 files changed,
2 insertions(+),
4 deletions(-)
jump to
M
artbound_python/static/script.js
→
artbound_python/static/script.js
@@ -260,16 +260,14 @@ if (months.has(month_value)) return;
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();