We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 580213f commit 8bae26eCopy full SHA for 8bae26e
src/js/vendor/docsearch.bundle.js
@@ -140,8 +140,8 @@
140
141
function handleShortcuts (e) {
142
var target = e.target || {}
143
- if (e.ctrlKey && e.key === '<' && target === this.$input[0]) return restoreSearch.call(this)
144
- if (e.altKey || e.shiftKey || target.isContentEditable || 'disabled' in target) return
+ if (e.altKey || target.isContentEditable || 'disabled' in target) return
+ if (e.ctrlKey && e.key === '<') return restoreSearch.call(this)
145
if (e.ctrlKey ? e.key === '/' : e.key === 's') {
146
this.$input.focus()
147
e.preventDefault()
0 commit comments