]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wip #6927
authorsoufiane <soufiane@cubedesigners.com>
Tue, 21 May 2024 13:15:51 +0000 (15:15 +0200)
committersoufiane <soufiane@cubedesigners.com>
Tue, 21 May 2024 13:15:51 +0000 (15:15 +0200)
js/quiz.utils.js

index cc01d45668662633a4f2f90502b3fc550dc4e9c1..0a95243fbc0059ce3fa1c72d83df9bee375eb735 100644 (file)
@@ -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;
     },