Skip to content

Commit

Permalink
by default cur month selected on report #3
Browse files Browse the repository at this point in the history
  • Loading branch information
oybek committed Sep 30, 2023
1 parent 19b0f99 commit a85c83a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spendbook/report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "Получить отчет";
Expand Down

0 comments on commit a85c83a

Please sign in to comment.