From a0d4917ac413cff938b7607bf8e36a64622257ef Mon Sep 17 00:00:00 2001 From: 0livd Date: Sun, 20 Aug 2017 12:22:47 +0200 Subject: 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 --- ihatemoney/templates/layout.html | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ihatemoney/templates/layout.html') 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 %} -- cgit v1.1