We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 052a1f5 + c0542fb commit 7919660Copy full SHA for 7919660
bower.json
@@ -1,6 +1,6 @@
1
{
2
"name": "adapt-contrib-tutor",
3
- "version": "2.0.1",
+ "version": "2.0.2",
4
"framework": "^2.0.0",
5
"homepage": "https://github.com/adaptlearning/adapt-contrib-tutor",
6
"issues": "https://adaptlearning.atlassian.net/secure/CreateIssueDetails!init.jspa?pid=10100&issuetype=1&priority=6&components=10521",
js/adapt-contrib-tutor.js
@@ -9,6 +9,10 @@ define([
9
body: view.model.get("feedbackMessage")
10
};
11
12
+ if (view.model.has('_isCorrect')) {
13
+ alertObject._classes = view.model.get('_isCorrect') ? 'correct' : 'incorrect';
14
+ }
15
+
16
Adapt.once("notify:closed", function() {
17
Adapt.trigger("tutor:closed");
18
});
0 commit comments