dimension.js waiting for init-colorbox breaks calculations

Created on 14 November 2024, about 1 month ago

Problem/Motivation

I'm using dimension in a site where no colorbox modules or js is used or initialised. In dimension.js:8 there is a .once('init-colorbox') blocking the calculation of area and volume.

Steps to reproduce

Have a Drupal install with no colorbox and use it.

Proposed resolution

Remove the line. I don't see any regression on my site but as this is part of commerce and signage modules I might miss something.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇩🇪Germany rogerpfaff Munich

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024