Problem/Motivation

In our setup we get a JS error: "Uncaught TypeError: Drupal.Charts is undefined"

Steps to reproduce

Unknown

Proposed resolution

Add the defer attribute

Issue fork charts-3509683

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

harlor created an issue. See original summary.

andileco made their first commit to this issue’s fork.

  • andileco committed 8254ffd8 on 5.1.x authored by harlor
    Issue #3509683 by harlor: Uncaught TypeError: Drupal.Charts is undefined
    
andileco’s picture

Status: Needs work » Fixed

I tested this and couldn't find any reason not to use it, though it wasn't needed for me either.

Status: Fixed » Closed (fixed)

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