Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - replace deprecated $.isArray with Array.isArray #2502

Open
olstjos opened this issue Mar 7, 2025 · 0 comments · May be fixed by #2501
Open

Bug - replace deprecated $.isArray with Array.isArray #2502

olstjos opened this issue Mar 7, 2025 · 0 comments · May be fixed by #2501

Comments

@olstjos
Copy link

olstjos commented Mar 7, 2025

Describe the bug

jQuery 4 compatibility is now a current concern
Please replace the deprecated $.isArray with Array.isArray in theme.js

We have a fix, please see Pull Request here:
#2501

Fixed by: @smulvih2
https://github.com/smulvih2

To Reproduce

Upgrade to jQuery 4
Use current GCWeb

Current behaviour

Javascript exception $.isArray no longer exists in jQuery 4

Expected behaviour

No javascript exceptions

Additional context

Drupal 11.1.3 currently ships with jQuery 4 as provided by the latest dev build of WxT

@olstjos olstjos linked a pull request Mar 7, 2025 that will close this issue
@nschonni nschonni linked a pull request Mar 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant