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.
2 parents 6d5383d + 04637f7 commit aefa9f5Copy full SHA for aefa9f5
1 file changed
bases/rsptx/interactives/runestone/datafile/js/datafile.js
@@ -23,6 +23,7 @@ class DataFile extends RunestoneBase {
23
this.divid = orig.id;
24
this.dataEdit = this.parseBooleanAttribute(orig, "data-edit");
25
this.isImage = this.parseBooleanAttribute(orig, "data-isimage");
26
+ this.fileName = orig.dataset.filename || null;
27
this.displayClass = "block"; // Users can specify the non-edit component to be hidden--default is not hidden
28
if (this.parseBooleanAttribute(orig, "data-hidden")) {
29
this.displayClass = "none";
0 commit comments