Deploying to gh-pages from @ agdamsbo/REDCapCAST@e9c8eced50 🚀

This commit is contained in:
agdamsbo 2024-10-02 08:15:20 +00:00
commit f2a5d4a823
59 changed files with 127 additions and 123 deletions

View file

@ -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
}
});