Reset the tinyform state otherwise the event listener is not added

This commit is contained in:
bumi 2020-05-04 10:31:58 +02:00
parent 8138d09c7b
commit 63714b6c15

View File

@ -1,4 +1,5 @@
document.addEventListener("turbolinks:load", function () {
tinyforms.loaded = false;
tinyforms.init(); // init the tinyforms event listeners
var demoForm = document.getElementById('demo-form');
if (!demoForm) {