aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis M <alexis@notmyidea.org>2019-10-19 00:36:17 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2019-10-19 12:30:56 +0200
commit6a4014cf5a5de722400ef988e7c4dd880f27cc87 (patch)
tree647bd3b70d83cbf5aa23d9689d383a1d7265544f
parenta50d54d5da7f0968c6646f605796c3725e0fb53c (diff)
downloadihatemoney-mirror-6a4014cf5a5de722400ef988e7c4dd880f27cc87.zip
ihatemoney-mirror-6a4014cf5a5de722400ef988e7c4dd880f27cc87.tar.gz
ihatemoney-mirror-6a4014cf5a5de722400ef988e7c4dd880f27cc87.tar.bz2
Fix the "and add a new one" button.
-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',