Do not use turbolinks gem in registrar area

This commit is contained in:
Artur Beljajev 2018-01-23 19:33:33 +02:00
parent 189129ec48
commit c4b8a5b71b
5 changed files with 4 additions and 11 deletions

View file

@ -12,10 +12,5 @@
dateFields.datepicker();
}
// For turbolinks
document.addEventListener('page:change', function() {
attachDatePicker();
});
attachDatePicker();
})();