@kodaris/krubble-app-components 1.0.143 → 1.0.145
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
package/dist/krubble-app.umd.js
CHANGED
|
@@ -12200,6 +12200,11 @@
|
|
|
12200
12200
|
if (anchor.target === '_blank') {
|
|
12201
12201
|
return;
|
|
12202
12202
|
}
|
|
12203
|
+
// Cmd/Ctrl-click (new tab), Shift-click (new window) and Alt-click (download) are browser
|
|
12204
|
+
// affordances — leave them to the browser rather than hijacking them into an in-app navigation.
|
|
12205
|
+
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) {
|
|
12206
|
+
return;
|
|
12207
|
+
}
|
|
12203
12208
|
e.preventDefault();
|
|
12204
12209
|
KRRouter.navigate(anchor.pathname);
|
|
12205
12210
|
});
|