diff --git a/src/main/resources/webgoat/static/js/quiz.js b/src/main/resources/webgoat/static/js/quiz.js index c40b1838b..f3f5de9de 100644 --- a/src/main/resources/webgoat/static/js/quiz.js +++ b/src/main/resources/webgoat/static/js/quiz.js @@ -20,11 +20,11 @@ $(function () { let questionsJson = json; var questionsObj = JSON.parse(questionsJson); let html = ""; - jQuery.each(questionsObj, function(i, obj) { - jQuery.each(obj, function(j, quest) { + $.each(questionsObj, function(i, obj) { + $.each(obj, function(j, quest) { html += "
" + (j+1) + ". " + quest.text + "
"; html += "