mirror of
https://github.com/msberends/AMR.git
synced 2025-07-12 17:01:57 +02:00
Built site for AMR@2.1.1.9073: 2975697
This commit is contained in:
@ -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
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user