app/assets/javascripts/materialize-form.js in materialize-form-1.0.7 vs app/assets/javascripts/materialize-form.js in materialize-form-1.0.8
- old
+ new
@@ -17,10 +17,10 @@
selectYears: 100
});
}
}
-$(document).on('turbolinks:load', function() {
+$(document).ready(function() {
window.materializeForm.init()
});
$(document).ajaxSuccess(function() {
window.materializeForm.init()