]>
git.proxmox.com Git - mirror_qemu.git/blob - docs/sphinx-static/custom.js
1 document
.addEventListener('keydown', (event
) => {
2 // find a better way to look it up?
3 let search_input
= document
.getElementsByName('q')[0];
5 if (event
.code
=== 'KeyS' && document
.activeElement
!== search_input
) {
6 event
.preventDefault();