@luminati-io/uikit 6.2.4 → 6.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -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 () {
|