aboutsummaryrefslogtreecommitdiff
path: root/src/content/index.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-20 20:19:54 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-20 20:19:54 +0900
commit9e4e6f847580984fdac9e4a1a7f85fc49b1c9d96 (patch)
tree52c895f42599effbee2f8023d832035fca81c25c /src/content/index.js
parente2b1f0d4d5b5526e61184e2c24186d422b6f8843 (diff)
fix miss function cal
Diffstat (limited to 'src/content/index.js')
-rw-r--r--src/content/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/index.js b/src/content/index.js
index 5f50a72..7ce41c1 100644
--- a/src/content/index.js
+++ b/src/content/index.js
@@ -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:')) {