mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
Deploying to gh-pages from @ agdamsbo/REDCapCAST@e9c8eced50 🚀
This commit is contained in:
parent
257fbd5243
commit
f2a5d4a823
59 changed files with 127 additions and 123 deletions
|
|
@ -152,3 +152,11 @@ async function searchFuse(query, callback) {
|
|||
});
|
||||
});
|
||||
})(window.jQuery || window.$)
|
||||
|
||||
document.addEventListener('keydown', function(event) {
|
||||
// Check if the pressed key is '/'
|
||||
if (event.key === '/') {
|
||||
event.preventDefault(); // Prevent any default action associated with the '/' key
|
||||
document.getElementById('search-input').focus(); // Set focus to the search input
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue