aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/layout.html
diff options
context:
space:
mode:
author0livd <github@destras.fr>2017-08-20 12:22:47 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2017-08-20 12:22:47 +0200
commita0d4917ac413cff938b7607bf8e36a64622257ef (patch)
treec5df593e28c41c8961443412310250ff2b36589d /ihatemoney/templates/layout.html
parent75104d9c193275855a0119d4e9d34e81bab53f2e (diff)
downloadihatemoney-mirror-a0d4917ac413cff938b7607bf8e36a64622257ef.zip
ihatemoney-mirror-a0d4917ac413cff938b7607bf8e36a64622257ef.tar.gz
ihatemoney-mirror-a0d4917ac413cff938b7607bf8e36a64622257ef.tar.bz2
Fix misplaced datepicker configuration (#258)
Bootstrap-datepicker is only included in the list_bills template but its configuration was living in the layout template, leading to a javascript error on every page except list_bills. Fixes #256
Diffstat (limited to 'ihatemoney/templates/layout.html')
-rw-r--r--ihatemoney/templates/layout.html7
1 files changed, 0 insertions, 7 deletions
diff --git a/ihatemoney/templates/layout.html b/ihatemoney/templates/layout.html
index 6ecff41..76ae890 100644
--- a/ihatemoney/templates/layout.html
+++ b/ihatemoney/templates/layout.html
@@ -21,13 +21,6 @@
});
}, 4000);
- $('.datepicker').datepicker({
- format: 'yyyy-mm-dd',
- weekStart: 1,
- autoclose: true,
- language: '{{ g.lang }}'
- });
-
$('.dropdown-toggle').dropdown();
{% block js %}{% endblock %}