A jQuery polyfill for event.which is not same as original code

Created on 17 January 2025, 5 days ago

Problem/Motivation

The event.which is changed since jQuery 3.6.0 and a polyfill is created on #3211601: [backport] Update jQuery to version 3.6.0 β†’ . In the removal original jQuery code, a button value is compared with bitwise AND operator, but in the additional polyfill code, a button value is compared with logical AND operator.

Proposed resolution

Use bitwise AND operator for comparison.

Remaining tasks

User interface changes

No.

API changes

Data model changes

No.

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

javascript

Created by

πŸ‡―πŸ‡΅Japan tom konda Kanagawa, Japan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024