fix miss function cal

This commit is contained in:
Shin'ya Ueoka 2017-09-20 20:19:54 +09:00
parent e2b1f0d4d5
commit 9e4e6f8475

View file

@ -15,7 +15,7 @@ const startFollows = (newTab) => {
case 'a':
if (newTab) {
// getAttribute() to avoid to resolve absolute path
let href = element.getibute('href');
let href = element.getAttribute('href');
// eslint-disable-next-line no-script-url
if (!href || href === '#' || href.startsWith('javascript:')) {