Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit cd75fb9

Browse files
committed
Fix: Revert changes from dynamically-loaded components.
1 parent 3a13374 commit cd75fb9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runestone/selectquestion/js/selectone.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default class SelectOne extends RunestoneBase {
104104
if (opts.timed) {
105105
// timed components are not rendered immediately, only when the student
106106
// starts the assessment and visits this particular entry.
107-
res = await createTimedComponent(htmlsrc, {
107+
res = createTimedComponent(htmlsrc, {
108108
timed: true,
109109
selector_id: selectorId,
110110
assessmentTaken: opts.assessmentTaken,
@@ -193,7 +193,7 @@ export default class SelectOne extends RunestoneBase {
193193
}
194194
///////////////////////////
195195
// just render this component on the page in its usual place
196-
await renderRunestoneComponent(htmlsrc, selectorId, {
196+
renderRunestoneComponent(htmlsrc, selectorId, {
197197
selector_id: selectorId,
198198
useRunestoneServices: true,
199199
});

0 commit comments

Comments
 (0)