There was an error while loading. Please reload this page.
1 parent 1a64dc8 commit 952f4c9Copy full SHA for 952f4c9
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