mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 09:26:34 +00:00
Prevent KBS from being registrered if the view is hidden
This commit is contained in:
@@ -799,7 +799,7 @@ var gZenCKSSettings = {
|
|||||||
|
|
||||||
//TODO Check for duplicates
|
//TODO Check for duplicates
|
||||||
async _handleKeyDown(event) {
|
async _handleKeyDown(event) {
|
||||||
if (!this._currentActionID) {
|
if (!this._currentActionID || document.hidden) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user