diff options
Diffstat (limited to 'ihatemoney')
| -rw-r--r-- | ihatemoney/templates/layout.html | 7 | ||||
| -rw-r--r-- | ihatemoney/templates/list_bills.html | 7 |
2 files changed, 7 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 %} diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index 4029bc9..1386636 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -8,6 +8,13 @@ {% block js %} {% if add_bill %} $('#new-bill').click(); {% endif %} + $('.datepicker').datepicker({ + format: 'yyyy-mm-dd', + weekStart: 1, + autoclose: true, + language: '{{ g.lang }}' + }); + // Hide all members actions $('.action').each(function(){ $(this).hide(); |
