File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -462,6 +462,7 @@ function preLoadCss(cssUrl) {
462
462
463
463
case "s" :
464
464
case "S" :
465
+ case "/" :
465
466
ev . preventDefault ( ) ;
466
467
searchState . focus ( ) ;
467
468
break ;
@@ -1334,7 +1335,7 @@ function preLoadCss(cssUrl) {
1334
1335
1335
1336
const shortcuts = [
1336
1337
[ "?" , "Show this help dialog" ] ,
1337
- [ "S" , "Focus the search field" ] ,
1338
+ [ "S / / " , "Focus the search field" ] ,
1338
1339
[ "↑" , "Move up in search results" ] ,
1339
1340
[ "↓" , "Move down in search results" ] ,
1340
1341
[ "← / →" , "Switch result tab (when results focused)" ] ,
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ <h2>Files</h2> {# #}
129
129
aria-label ="Run search in the documentation " {#+ #}
130
130
autocomplete ="off " {#+ #}
131
131
spellcheck ="false " {#+ #}
132
- placeholder ="Click or press ‘S ’ to search, ‘?’ for more options… " {#+ #}
132
+ placeholder ="Type ‘S’ or ‘/ ’ to search, ‘?’ for more options… " {#+ #}
133
133
type ="search "> {# #}
134
134
< div id ="help-button " tabindex ="-1 "> {# #}
135
135
< a href ="{{page.root_path|safe}}help.html " title ="help "> ?</ a > {# #}
You can’t perform that action at this time.
0 commit comments