Problem/Motivation

Installed this module but I am getting a javascript error, "Uncaught ReferenceError: Cannot access 'ed11yMessageQAMayBeHeader' before initialization", which is breaking the toolbar and primary tabs (View, Edit, etc. links).

Proposed resolution

Looking into this it appears to be an issue with how const/let vs. var are hoisted, so changing `const ed11yMessageQAMayBeHeader` to `var ed11yMessageQAMayBeHeader` resolves the issue.

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

seantwalsh created an issue. See original summary.

seantwalsh’s picture

Assigned: seantwalsh » Unassigned
itmaybejj’s picture

Thank you.

  • itmaybejj committed e29af6f on 7.x-1.x authored by seantwalsh
    Issue #3214071 by seantwalsh: Uncaught ReferenceError: Cannot access '...
itmaybejj’s picture

Assigned: Unassigned » itmaybejj
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.