From 36d6e228501786ff235888f474d67f2e45c2326f Mon Sep 17 00:00:00 2001 From: "Michael Spellacy (Spell)" Date: Fri, 20 Sep 2024 12:11:02 -0400 Subject: [PATCH] Update init.js --- a11y/init.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/a11y/init.js b/a11y/init.js index b0e7ea9..2b613a6 100644 --- a/a11y/init.js +++ b/a11y/init.js @@ -714,10 +714,11 @@ function fixMindReaderInput() { // Function to check the active class in combobox list function checkActiveClass() { - - console.log(mindReader); - var activeItem = mindReader.querySelector("a.active"); + var activeItem = mindReader.querySelector("a.active"); + + // BUG: See https://kpmg.runmytests.eu, Dropdown works initially, but on second try, does not apper to work correctly. Throwing folling, can't find mindReader ID. + // Uncaught TypeError: Cannot read properties of null (reading 'querySelector') at HTMLDocument.checkActiveClass (init.js:720:35) if (activeItem) {