Reset the tinyform state otherwise the event listener is not added
This commit is contained in:
parent
8138d09c7b
commit
63714b6c15
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user