Skip to content

Change jQuery event handling to use .on() method and fix Escape key handler#16

Merged
JJJ merged 1 commit intoWordPress:trunkfrom
AndisGrossteins:patch-1
Dec 10, 2025
Merged

Change jQuery event handling to use .on() method and fix Escape key handler#16
JJJ merged 1 commit intoWordPress:trunkfrom
AndisGrossteins:patch-1

Conversation

@AndisGrossteins
Copy link
Contributor

  1. Removes the jQuery migrate warning messages.
  2. Fixes the Escape key handler to check for event.key = "Escape".

 1. Removes the jQuery migrate warning messages.
 2. Fixes the Escape key handler to check for `event.key = "Escape"`.
Copy link
Contributor

@JJJ JJJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look OK.

I think that 'click' needs a space ahead of it, but I don't consider that a blocker from merging.

@JJJ JJJ merged commit 70e3c33 into WordPress:trunk Dec 10, 2025
JJJ added a commit that referenced this pull request Dec 10, 2025
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.

2 participants