* fix event grabbing keyboard when trying to use browser shortcuts
parent
88cfaf87aa
commit
777549a014
|
@ -237,7 +237,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
|
|
||||||
function handleKeyboard(e) {
|
function handleKeyboard(e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
if (e.target.name != "search_query") {
|
if (e.target.name != "search_query" && !e.ctrlKey && e.altKey) {
|
||||||
if (e.key == "ArrowLeft") { // go ahead, complain this is not a switch
|
if (e.key == "ArrowLeft") { // go ahead, complain this is not a switch
|
||||||
seekRelative(-5);
|
seekRelative(-5);
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
Loading…
Reference in New Issue