Skip to content

Very small PR: jQuery.isFunction is removed in jQuery 4.0+#195

Open
Gogowitsch wants to merge 1 commit into
joeldbirch:masterfrom
Gogowitsch:make-hoverIntent-compatible-with-jQuery4
Open

Very small PR: jQuery.isFunction is removed in jQuery 4.0+#195
Gogowitsch wants to merge 1 commit into
joeldbirch:masterfrom
Gogowitsch:make-hoverIntent-compatible-with-jQuery4

Conversation

@Gogowitsch

@Gogowitsch Gogowitsch commented Mar 17, 2026

Copy link
Copy Markdown

Goals: why merge this PR?

Make hoverIntent compatible with Drupal 11.

Solution details

The Drupal module Responsive and off-canvas menu suggests to put this repo in the /libraries directory of the Drupal installation. With Drupal 11, the hoverIntent plugin is called with jQuery 4.

I have opened an issue with the affected Drupal module, just to inform their user base. However the fix needs to happen here.

I found the same problem and its solution in the Webform issue #3512816.

This is following the guidance from jQuery documentation:
https://api.jquery.com/jQuery.isFunction/

@Gogowitsch Gogowitsch changed the title jQuery.isFunction is removed in jQuery 4.0+ Very small PR: jQuery.isFunction is removed in jQuery 4.0+ Mar 17, 2026
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 this pull request may close these issues.

1 participant