diff --git a/script.js b/script.js index 59bb27c..d3e88ce 100644 --- a/script.js +++ b/script.js @@ -21,8 +21,12 @@ function getFeedbackLinks() { links.forEach((link) => { const href = link.getAttribute("href"); // Check if the href includes "/feedback/" - if (href && href.includes("/feedback/")) { - feedbackLinks.push(href); + if (href) { + if (href.includes("/feedback/")) { + feedbackLinks.push(href); + } else if (href.includes("/quiz/")) { + feedbackLinks.push(href); + } } }); @@ -91,7 +95,7 @@ loadScript( openInModal("about:blank"); } - function nextContent() { + async function nextContent() { // Get the currently executing