1
Fork 0

Improve comment for getVirtualKey function

This commit is contained in:
Guillaume Gomez 2020-11-08 17:12:03 +01:00
parent 589588ce7b
commit 14ecee7693

View file

@ -45,7 +45,7 @@ if (!DOMTokenList.prototype.remove) {
// given KeyboardEvent, ev.
//
// This function is meant as a polyfill for KeyboardEvent#key,
// since it is not supported in Trident. We also test for
// since it is not supported in IE 11 or Chrome for Android. We also test for
// KeyboardEvent#keyCode because the handleShortcut handler is
// also registered for the keydown event, because Blink doesn't fire
// keypress on hitting the Escape key.