From d2768e5c7bf43d4410175220d301a4e5f4bcc6c7 Mon Sep 17 00:00:00 2001 From: hackademix Date: Sun, 6 Dec 2020 00:57:37 +0100 Subject: [PATCH] Fixed permission keyboard shortcuts being triggered with modifiers like CTRL (thanks barbaz for report). --- src/ui/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/ui.js b/src/ui/ui.js index 4fecc72..3828842 100644 --- a/src/ui/ui.js +++ b/src/ui/ui.js @@ -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";