User:Headquarter8302/common.js: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/*
window.addEventListener("keydown", function(event) {
window.addEventListener("keydown", function(event) {
switch(event.code) {
switch(event.code) {
Line 6: Line 7:
}
}
}, true);
}, true);
*/

Revision as of 06:20, 20 December 2021

/*
window.addEventListener("keydown", function(event) {
	switch(event.code) {
		case "Slash":
			document.getElementById('searchInput').focus();
			document.getElementById('searchInput').scrollIntoView();
		}
}, true);
*/