@sumaris-net/ngx-components 1.17.1-rc1 → 1.17.1-rc2
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.
- package/bundles/sumaris-net.ngx-components.umd.js +3 -1
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/shared/hotkeys/hotkeys.service.js +4 -2
- package/fesm2015/sumaris-net.ngx-components.js +3 -1
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -10037,8 +10037,10 @@
|
|
|
10037
10037
|
case 3:
|
|
10038
10038
|
top = _a;
|
|
10039
10039
|
// If modal present, check its component name against hotkey element name (fix #181)
|
|
10040
|
-
if (top && top.component['name'] !== merged.elementName)
|
|
10040
|
+
if (top && top.component['name'] !== merged.elementName) {
|
|
10041
|
+
e.preventDefault();
|
|
10041
10042
|
return [2 /*return*/];
|
|
10043
|
+
}
|
|
10042
10044
|
if (e instanceof KeyboardEvent && e.repeat)
|
|
10043
10045
|
return [2 /*return*/]; // skip when repeated
|
|
10044
10046
|
if (merged.preventDefault)
|