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',