@kodaris/krubble-app-components 1.0.142 → 1.0.144
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/dist/krubble-app.bundled.js +5 -0
- package/dist/krubble-app.bundled.js.map +1 -1
- package/dist/krubble-app.bundled.min.js +5 -5
- package/dist/krubble-app.bundled.min.js.map +1 -1
- package/dist/krubble-app.umd.js +5 -0
- package/dist/krubble-app.umd.js.map +1 -1
- package/dist/krubble-app.umd.min.js +1 -1
- package/dist/krubble-app.umd.min.js.map +1 -1
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +5 -0
- package/dist/router.js.map +1 -1
- package/package.json +1 -1
|
@@ -12197,6 +12197,11 @@ class KRRouter {
|
|
|
12197
12197
|
if (anchor.target === '_blank') {
|
|
12198
12198
|
return;
|
|
12199
12199
|
}
|
|
12200
|
+
// Cmd/Ctrl-click (new tab), Shift-click (new window) and Alt-click (download) are browser
|
|
12201
|
+
// affordances — leave them to the browser rather than hijacking them into an in-app navigation.
|
|
12202
|
+
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) {
|
|
12203
|
+
return;
|
|
12204
|
+
}
|
|
12200
12205
|
e.preventDefault();
|
|
12201
12206
|
KRRouter.navigate(anchor.pathname);
|
|
12202
12207
|
});
|