We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd4347 commit 0a7a5afCopy full SHA for 0a7a5af
js/ui/history.js
@@ -68,14 +68,12 @@ class History extends EventTarget {
68
if (!strings.startsWith(hash, '#/')) {
69
return;
70
}
71
- e.preventDefault();
72
- // e.stopPropagation();
73
-
74
- if (e.ctrlKey) {
75
- const href = anchor.href.replace("/#/", "/");
76
- window.open(href, "_blank");
+ if (e.ctrlKey || e.metaKey) {
77
78
+
+ e.preventDefault();
79
hash = hash.substring(2);
80
//this.history_.replaceToken(hash);
81
//this.replaceToken(hash);
0 commit comments