mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
add search shortcut
This commit is contained in:
parent
30e57119a6
commit
08bbc74746
@ -13,3 +13,9 @@ const app = new Vue({
|
||||
Prism.highlightAll()
|
||||
anchors.options = { placement: 'left', class: 'text-slate-light' };
|
||||
anchors.add();
|
||||
|
||||
document.onkeyup = function (e) {
|
||||
if (e.which == 191) {
|
||||
document.getElementById('docsearch').focus();
|
||||
}
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user