Skip to content

Commit 936cab3

Browse files
authored
Merge branch 'develop' into develop
2 parents 32efb1f + 952f4c9 commit 936cab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/router/history/hash.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class HashHistory extends History {
3939
on('click', e => {
4040
const el = e.target.tagName === 'A' ? e.target : e.target.parentNode;
4141

42-
if (el.tagName === 'A' && !/_blank/.test(el.target)) {
42+
if (el && el.tagName === 'A' && !/_blank/.test(el.target)) {
4343
navigating = true;
4444
}
4545
});

0 commit comments

Comments
 (0)