mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Fix docsearch shortcut
This commit is contained in:
parent
0eb520927a
commit
2cf4a2ade6
@ -17,5 +17,6 @@ anchors.add()
|
||||
|
||||
// Add shortcut to search input when pressing the "/" key
|
||||
Mousetrap.bind('/', function (e) {
|
||||
e.preventDefault()
|
||||
document.getElementById('docsearch').focus()
|
||||
}, 'keyup')
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user