Skip to content
Snippets Groups Projects
Commit dea6a9fb authored by Benjamin Franzke's avatar Benjamin Franzke
Browse files

[TASK] Avoid console error in hotkey module

Cope with the situation that a KeyboardEvent is not guaranteed
to provide a `key` property in the event struct. `key` will
be undefined if a input value is filled from a autocomplete list
in google chrome.

Releases: main
Resolves: #104389
Change-Id: I7e3d557a1026398c44b3511ec5495bfd188d19b5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85257


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
parent 27671e6d
Branches
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment