Avoid "Uncaught ReferenceError: Drupal is not defined" for anonymous users

Created on 4 September 2024, 7 months ago

Problem/Motivation

We are getting a JS error "Uncaught ReferenceError: Drupal is not defined" in the countdown JS file for anonymous users that visit a page with a countdown block.

Proposed resolution

Add core/drupal dependency to the countdown library.

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇨🇾Cyprus alex.bukach

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

Comments & Activities

Production build 0.71.5 2024