Fixed permission keyboard shortcuts being triggered with modifiers like CTRL (thanks barbaz for report).

This commit is contained in:
hackademix 2020-12-06 00:57:37 +01:00
parent 2bbc099195
commit d2768e5c7b
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ var UI = (() => {
_keyNavHandler(e) {
let focused = document.activeElement;
if (!focused) return;
if (!focused || e.ctrlKey || e.metaKey) return;
let row = focused.closest("tr");
if (!row || row.matches(".customizer")) return;
let dir = "next";