fix miss function cal

jh-changes
Shin'ya Ueoka 7 years ago
parent e2b1f0d4d5
commit 9e4e6f8475
  1. 2
      src/content/index.js

@ -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:')) {