We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf7f3cf commit da5da99Copy full SHA for da5da99
src/librustdoc/html/static/js/main.js
@@ -518,7 +518,9 @@ function preLoadCss(cssUrl) {
518
openParentDetails(document.getElementById(id));
519
}
520
521
- // @ts-expect-error
+ /**
522
+ * @param {KeyboardEvent} ev
523
+ */
524
function handleEscape(ev) {
525
// @ts-expect-error
526
searchState.clearInputTimeout();
@@ -530,7 +532,9 @@ function preLoadCss(cssUrl) {
530
532
window.hideAllModals(true); // true = reset focus for tooltips
531
533
534
535
536
537
538
function handleShortcut(ev) {
539
// Don't interfere with browser shortcuts
540
const disableShortcuts = getSettingValue("disable-shortcuts") === "true";
0 commit comments