Use Drupal Behaviours in JS

Created on 10 November 2023, about 1 year ago

The views_timelinejs.js file does not use Drupal.behaviors to make sure that the Javascript is executed after the page has finished rendering.

https://www.drupal.org/docs/drupal-apis/javascript-api/javascript-api-ov...

When using v4.0.0, we have been unable to get the timeline to display correctly as the Javascript is executing before the block has been rendered.

🐛 Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

🇦🇺Australia akoepke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024