diff --git a/assets/search.js b/assets/search.js index e064a14..d6ae18b 100644 --- a/assets/search.js +++ b/assets/search.js @@ -28,8 +28,6 @@ function isHotkey(character) { const dataHotkeys = input.getAttribute('data-hotkeys') || ''; - const hotkeys = dataHotkeys.split(' '); - return dataHotkeys.indexOf(character) >= 0; } diff --git a/layouts/partials/docs/search.html b/layouts/partials/docs/search.html index b22bba3..d6a539c 100644 --- a/layouts/partials/docs/search.html +++ b/layouts/partials/docs/search.html @@ -1,6 +1,6 @@ {{ if default true .Site.Params.BookSearch }}