Fix the "and add a new one" button.

This commit is contained in:
Alexis M 2019-10-19 00:36:17 +02:00 committed by Alexis Metaireau
parent a50d54d5da
commit 6a4014cf5a

View file

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