Problem/Motivation

When upgrading from Drupal v9.4.14 using TB Mega Menu v1.7 to Drupal v10.0.0 and TB Mega Menu v3.0.0-alpha2, I'm encountering 'Uncaught TypeError: $(...).once is not a function' errors in the console and the sub-navigation is not working when hovered over and css not being applied.

Steps to reproduce

To reproduce the problem, follow these steps:

Install Drupal v9.4.14 and TB Mega Menu v1.7.
Create a mega menu and add some links.
Upgrade to Drupal v10.0.0 and TB Mega Menu v3.0.0-alpha2.
Visit the page with the mega menu.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

bgivens created an issue. See original summary.

tolstoydotcom’s picture

I grepped that version and I don't see the use of 'once', they have a workaround ("Look for an initialized attribute so that we do not have to worry about attaching once() or jQuery.once().")

The dev version is basically the same.

So, I'd suggest clearing the cache, doing a hard refresh of the browser, etc.

keshavv’s picture

Status: Active » Closed (won't fix)

@TolstoyDotCom I agree with your point.