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 c73b88d commit eb8bd5aCopy full SHA for eb8bd5a
1 file changed
bases/rsptx/interactives/runestone/datafile/js/datafile.js
@@ -79,7 +79,8 @@ class DataFile extends RunestoneBase {
79
== Find the custom HTML tags and ==
80
== execute our code on them ==
81
=================================*/
82
-document.addEventListener("DOMContentLoaded", function () {
+
83
+document.addEventListener("runestone:login-complete", function () {
84
document.querySelectorAll("[data-component=datafile]").forEach(function (el) {
85
try {
86
dfList[el.id] = new DataFile({ orig: el });
0 commit comments