diff --git a/dist/hotkeys.common.js b/dist/hotkeys.common.js index e8f3d92..798ca2a 100644 --- a/dist/hotkeys.common.js +++ b/dist/hotkeys.common.js @@ -437,7 +437,7 @@ function dispatch(event, element) { if (!(key in _handlers)) return; for (var _i = 0; _i < _handlers[key].length; _i++) { if (event.type === 'keydown' && _handlers[key][_i].keydown || event.type === 'keyup' && _handlers[key][_i].keyup) { - if (_handlers[key][_i].key && _handlers[key][_i].scope === scope) { + if (_handlers[key][_i].key) { var record = _handlers[key][_i]; var splitKey = record.splitKey; var keyShortcut = record.key.split(splitKey); diff --git a/dist/hotkeys.common.min.js b/dist/hotkeys.common.min.js index 52f2d4a..966b76b 100644 --- a/dist/hotkeys.common.min.js +++ b/dist/hotkeys.common.min.js @@ -1,2 +1,2 @@ /*! hotkeys-js v3.11.1 | MIT © 2023 kenny wong https://jaywcjlove.github.io/hotkeys-js */ -"use strict";var isff="undefined"!=typeof navigator&&0 https://jaywcjlove.github.io/hotkeys-js */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).hotkeys=t()}(this,function(){"use strict";var e="undefined"!=typeof navigator&&0