aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/templates
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/templates')
-rw-r--r--accounts/templates/accounts/index.html18
1 files changed, 5 insertions, 13 deletions
diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html
index 01240ad..2733050 100644
--- a/accounts/templates/accounts/index.html
+++ b/accounts/templates/accounts/index.html
@@ -366,22 +366,14 @@ var options = {
labelMonthPrev: 'Mese precedente',
labelMonthSelect: 'Seleziona un mese',
labelYearSelect: 'Seleziona un anno'
- }}
-
-var instance = M.Tabs.init(elem, options);
-
-document.addEventListener('DOMContentLoaded', function() {
- var elems = document.querySelectorAll('.datepicker');
- var instances = M.Datepicker.init(elems, options);
-});
-
-document.addEventListener('DOMContentLoaded', function() {
- var elems = document.querySelectorAll('select');
- var instances = M.FormSelect.init(elems, options);
-});
+ }
+}
$(document).ready(function() {
$('input#sickness, input#vaccine, input#allergy, input#drugs, input#misc').characterCounter();
+ $('.datepicker').datepicker(options);
+ $('.tabs').tabs();
+ $('select').formSelect();
});
/*!