@luminati-io/uikit 6.2.4 → 6.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40202,7 +40202,7 @@ var ModalButton = function ModalButton(_ref4) {
|
|
|
40202
40202
|
(_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 || _document$activeEleme.blur();
|
|
40203
40203
|
if (!hotKey) return;
|
|
40204
40204
|
var handle_key_press = function handle_key_press(e) {
|
|
40205
|
-
if (e.key.toLowerCase() == hotKey.toLowerCase()) onClick();
|
|
40205
|
+
if (e.key.toLowerCase() == hotKey.toLowerCase()) onClick === null || onClick === void 0 || onClick();
|
|
40206
40206
|
};
|
|
40207
40207
|
window.addEventListener('keydown', handle_key_press);
|
|
40208
40208
|
return function () {
|