* fix event grabbing keyboard when trying to use browser shortcuts

merge-requests/6/head
Dominika Liberda 2021-07-21 01:15:14 +00:00
parent 88cfaf87aa
commit 777549a014
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
function handleKeyboard(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
seekRelative(-5);
e.preventDefault();