aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ihatemoney/templates/list_bills.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html
index 494969f..49293d3 100644
--- a/ihatemoney/templates/list_bills.html
+++ b/ihatemoney/templates/list_bills.html
@@ -6,7 +6,7 @@
<script src="{{ url_for("static", filename="js/locales/bootstrap-datepicker.fr.min.js") }}" charset="utf-8"></script>
{% endblock %}
{% block js %}
- {% if add_bill %} $('#new-bill').click(); {% endif %}
+ {% if add_bill %} $('#new-bill > a').click(); {% endif %}
$('.datepicker').datepicker({
format: 'yyyy-mm-dd',