Skip to content

Commit

Permalink
Update init.js
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelspellacy committed Sep 20, 2024
1 parent fb23cbb commit 36d6e22
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions a11y/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down

0 comments on commit 36d6e22

Please sign in to comment.