Do not call eu_cookie_compliance if is not defined

Created on 28 September 2023, over 1 year ago

Problem/Motivation

Because the library eu_cookie_compliance is loaded on the preprocess hook, it loads also on de administration theme, and eu_cookie_compliance in most cases is not loaded.

Proposed resolution

Check that Drupal.eu_cookie_compliance is defined

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇸Spain eduardo morales alberti Spain, 🇪🇺

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

Comments & Activities

Production build 0.71.5 2024