From: soufiane Date: Tue, 21 May 2024 13:15:51 +0000 (+0200) Subject: wip #6927 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c9c298120ac9f26133f5c47e96fc28f89c0c377d;p=fluidbook-toolbox-quiz.git wip #6927 --- diff --git a/js/quiz.utils.js b/js/quiz.utils.js index cc01d45..0a95243 100644 --- a/js/quiz.utils.js +++ b/js/quiz.utils.js @@ -26,8 +26,10 @@ QuizUtils.prototype = { if ($(e).hasClass('disabled') || $(e).closest('.disabled').length > 0) { return false; } - if($(e).attr('href') !== "#") { - return false; + if($(e).attr('href')) { + if($(e).attr('href') !== "#") { + return false; + } } return true; },