Prevent KBS from being registrered if the view is hidden

This commit is contained in:
mauro-balades
2024-09-28 22:12:51 +02:00
parent 4d019067ef
commit d0b6f9489c

View File

@@ -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;
} }