Problem/Motivation

There is a JS error:

drupal.js?v=10.6.3:64 Uncaught TypeError: Cannot read properties of null (reading 'classList')
    at Object.attach (view--partners.js?tduiuv:1:431)
    at drupal.js?v=10.6.3:166:24
    at Array.forEach (<anonymous>)
    at Drupal.attachBehaviors (drupal.js?v=10.6.3:162:34)
    at drupal.init.js?v=10.6.3:32:12
    at HTMLDocument.listener (drupal.init.js?v=10.6.3:20:7)

Steps to reproduce

Open home page

Proposed resolution

Attach JS per view & display
Fix JS to check for the element existense

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork la_eu-3586044

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

taran2l created an issue. See original summary.

taran2l’s picture

Title: Fix JS error due to missing DOM elements in partner randomized JS » Fix JS error due to missing DOM elements in partner randomizer JS
Issue summary: View changes

  • taran2l committed 4b2a7875 on staging
    feat: #3586044 Fix JS error due to missing DOM elements in partner...
taran2l’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • taran2l committed 4b2a7875 on 1.0.x
    feat: #3586044 Fix JS error due to missing DOM elements in partner...

  • taran2l committed 4b2a7875 on downstream/la_nl
    feat: #3586044 Fix JS error due to missing DOM elements in partner...