Commit 73999f00 by Xavier Antoviaque

Merge pull request #59 from aboudreault/html-tip-fix

Fix html display on icon click
parents 68f5b96b 9dfe9648
......@@ -107,7 +107,7 @@ function MCQBlock(runtime, element, mentoring) {
return obj.choice === choiceInputDOM.val();
});
if (tips) {
choiceTipsDOM.html(tips.tips);
mentoring.setContent(choiceTipsDOM, tips.tips);
}
choiceTipsCloseDOM = $('.close', choiceTipsDOM);
......@@ -198,7 +198,7 @@ function MRQBlock(runtime, element, mentoring) {
}
}
choiceTipsDOM.html(choice.tips);
mentoring.setContent(choiceTipsDOM, choice.tips);
choiceTipsCloseDOM = $('.close', choiceTipsDOM);
choiceResultDOM.off('click').on('click', function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment