From a85c83ab8ce779a48eec6e2d71e06aee85bf8941 Mon Sep 17 00:00:00 2001 From: oybek Date: Sat, 30 Sep 2023 15:19:25 +0600 Subject: [PATCH] by default cur month selected on report #3 --- spendbook/report/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/spendbook/report/index.html b/spendbook/report/index.html index b48650b..9510b46 100644 --- a/spendbook/report/index.html +++ b/spendbook/report/index.html @@ -40,6 +40,7 @@ } $("#month").on("change", collectData); $("#year").on("click", collectData); + $("#month").val(new Date().getMonth()+1); const mainButton = window.Telegram.WebApp.MainButton; mainButton.text = "Получить отчет";