1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00

Added forward slash to list of keyboard shortcuts that open search (#1509)

This commit is contained in:
Ofek Lev 2020-03-16 04:35:24 -04:00 committed by GitHub
parent 825eeae70c
commit 0de3f60af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,6 +166,7 @@ export function setupKeyboard(): Observable<Keyboard> {
/* Open search and select query */
case "f":
case "s":
case "/":
setElementFocus(query)
setElementSelection(query)
key.claim()