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

Commit 088a70f

Browse files
committed
Fix: Correct solution, plus fix server-side.
1 parent b71d54b commit 088a70f

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

runestone/fitb/js/fitb.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,11 @@ export default class FITB extends RunestoneBase {
197197
}
198198
}
199199
// Grade locally if we can't ask the server to grade.
200-
if (this.feedbackArray && !this.isTimed) {
200+
if (this.feedbackArray) {
201201
this.evaluateAnswers();
202-
this.renderFeedback();
202+
if (!this.isTimed) {
203+
this.renderFeedback();
204+
}
203205
}
204206
}
205207

@@ -233,7 +235,9 @@ export default class FITB extends RunestoneBase {
233235
this.correct = data.correct;
234236
this.displayFeed = data.displayFeed;
235237
this.isCorrectArray = data.isCorrectArray;
236-
this.renderFeedback();
238+
if (!this.isTimed) {
239+
this.renderFeedback();
240+
}
237241
}
238242
return data;
239243
}

0 commit comments

Comments
 (0)