Uncaught TypeError: once.remove is not a function

Created on 11 March 2022, over 2 years ago
Updated 16 January 2023, over 1 year ago

After updating my Drupal site to 9.3.0 I ran into this issue on a lot of the views: https://www.drupal.org/project/drupal/issues/3254840 πŸ› window.once name conflict with other third party script Needs work .
The issue provided a patch, which I applied.

Afterwards, upon clicking the VIS load more button, I got this error in my console:
Uncaught TypeError: once.remove is not a function coming from the infinite-scroll.js file.

I've provided a patch (that works together with the other patch) to surpress this error.

I would like to open the discussion here. What is a permanent solution?

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands boazpoolman

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.69.0 2024