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 7ade001 commit d9b7c9fCopy full SHA for d9b7c9f
src/core/router/history/hash.js
@@ -46,12 +46,9 @@ export class HashHistory extends History {
46
const el = e.target.tagName === 'A' ? e.target : e.target.parentNode;
47
48
if (el && el.tagName === 'A' && !isExternal(el.href)) {
49
- const hrefHash = new URL(el.href).hash;
50
- const currentHash = location.hash;
51
-
52
navigating = true;
53
54
- if (hrefHash && hrefHash === currentHash) {
+ if (el.className !== 'app-name-link' && el.hash === location.hash) {
55
cb({ event: e, source: 'navigate' });
56
}
57
0 commit comments