We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb1103 commit 01b70deCopy full SHA for 01b70de
app/assets/javascripts/heavens_door.js
@@ -11,6 +11,8 @@
11
}
12
} else { // no turbolinks
13
document.addEventListener('DOMContentLoaded', fn);
14
+ // Turbo is not yet available for detection here, need to attach the listener anyway
15
+ document.documentElement.addEventListener('turbo:load', fn);
16
17
18
})(() => {
0 commit comments