aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-01-24 00:39:47 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-01-24 00:39:47 +0100
commit83f6c3d4755fcdb5ffd0d6720d888f73fd9fd828 (patch)
tree1a264b209ca1528476957401240222a8480edaf4 /layouts/partials
parentdc7e2f001398e00ba061ca15b1d4f689f5d09959 (diff)
Disable space as search focus key
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/docs/search.html2
1 files changed, 1 insertions, 1 deletions
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 }}
<div class="book-search">
- <input type="text" id="book-search-input" placeholder="{{ i18n "Search" }}" aria-label="{{ i18n "Search" }}" maxlength="64" data-hotkeys="s /" />
+ <input type="text" id="book-search-input" placeholder="{{ i18n "Search" }}" aria-label="{{ i18n "Search" }}" maxlength="64" data-hotkeys="s/" />
<div class="book-search-spinner spinner hidden"></div>
<ul id="book-search-results"></ul>
</div>