Skip to content

Commit 14ecee7

Browse files
Improve comment for getVirtualKey function
1 parent 589588c commit 14ecee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/main.js

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

0 commit comments

Comments
 (0)