]> git.proxmox.com Git - mirror_qemu.git/blob - docs/sphinx-static/custom.js
hw/arm/aspeed: Init CPU defaults in a common helper
[mirror_qemu.git] / 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];
4
5 if (event.code === 'KeyS' && document.activeElement !== search_input) {
6 event.preventDefault();
7 search_input.focus();
8 }
9 });