fix miss function cal
This commit is contained in:
parent
e2b1f0d4d5
commit
9e4e6f8475
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const startFollows = (newTab) => {
|
||||||
case 'a':
|
case 'a':
|
||||||
if (newTab) {
|
if (newTab) {
|
||||||
// getAttribute() to avoid to resolve absolute path
|
// getAttribute() to avoid to resolve absolute path
|
||||||
let href = element.getibute('href');
|
let href = element.getAttribute('href');
|
||||||
|
|
||||||
// eslint-disable-next-line no-script-url
|
// eslint-disable-next-line no-script-url
|
||||||
if (!href || href === '#' || href.startsWith('javascript:')) {
|
if (!href || href === '#' || href.startsWith('javascript:')) {
|
||||||
|
|
Reference in a new issue