Skip to content
Snippets Groups Projects

Feature/mobile right menu

Merged Gaëlle Morin requested to merge feature/mobile-right-menu into master
1 file
+ 9
0
Compare changes
  • Side-by-side
  • Inline
+ 9
0
document.addEventListener("keydown", function (e) {
/*
CTRL + K : Focus on the user search
*/
if(e.ctrlKey && e.key == "k") {
document.querySelector('#general-search input[type="text"]').focus();
e.preventDefault();
}
});
Loading