From 7207d56a8671095d07ecd03ca856564a446535c9 Mon Sep 17 00:00:00 2001 From: Alexis M Date: Sat, 19 Oct 2019 00:36:17 +0200 Subject: [PATCH] Fix the "and add a new one" button. (cherry picked from commit 6a4014cf5a5de722400ef988e7c4dd880f27cc87) --- ihatemoney/templates/list_bills.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index e42ec372..20fcabf2 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -6,7 +6,7 @@ {% endblock %} {% block js %} - {% if add_bill %} $('#new-bill').click(); {% endif %} + {% if add_bill %} $('#new-bill > a').click(); {% endif %} $('.datepicker').datepicker({ format: 'yyyy-mm-dd',