diff --git a/docs/source/_assets/js/app.js b/docs/source/_assets/js/app.js index 068b4f79b..479579949 100644 --- a/docs/source/_assets/js/app.js +++ b/docs/source/_assets/js/app.js @@ -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(); + } +}; \ No newline at end of file