We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 32efb1f + 952f4c9 commit 936cab3Copy full SHA for 936cab3
src/core/router/history/hash.js
@@ -39,7 +39,7 @@ export class HashHistory extends History {
39
on('click', e => {
40
const el = e.target.tagName === 'A' ? e.target : e.target.parentNode;
41
42
- if (el.tagName === 'A' && !/_blank/.test(el.target)) {
+ if (el && el.tagName === 'A' && !/_blank/.test(el.target)) {
43
navigating = true;
44
}
45
});
0 commit comments