From c9c298120ac9f26133f5c47e96fc28f89c0c377d Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 21 May 2024 15:15:51 +0200 Subject: [PATCH] wip #6927 --- js/quiz.utils.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; }, -- 2.39.5