Permalink
Browse files

updated jsQuizEngine javascript to latest

  • Loading branch information...
1 parent 2a6ebc6 commit cdff46e704b1dc83cf4696f16ab479ff5bec2f81 @crpietschmann committed Mar 6, 2017
Showing with 2 additions and 0 deletions.
  1. +2 −0 jshttps://github.com/jsQuizEngine.js
@@ -31,6 +31,8 @@
answers = question.find('.answer'), answers = question.find('.answer'),
correctAnswerCount = question.find('.answer[data-correct]').length; correctAnswerCount = question.find('.answer[data-correct]').length;
+ question.find('.hint a, .description a').attr('target','_blank');
+
answers.each(function (ai, ae) { answers.each(function (ai, ae) {
var answer = $(this), var answer = $(this),
newAnswer = $('<label></label>').addClass('answer').append('<input type=\'checkbox\'/>').append($('<div></div>').html(answer.html())); newAnswer = $('<label></label>').addClass('answer').append('<input type=\'checkbox\'/>').append($('<div></div>').html(answer.html()));

0 comments on commit cdff46e

Please sign in to comment.