From 14ecee769318615b6497957d225c8869d07f3e97 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 8 Nov 2020 17:12:03 +0100 Subject: [PATCH] Improve comment for getVirtualKey function --- src/librustdoc/html/static/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index 4d75195fb81d..f1ba28c69d0e 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -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.