From 6a4014cf5a5de722400ef988e7c4dd880f27cc87 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. --- 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 494969f1..49293d36 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',