aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content_scripts/vimium_frontend.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 102583c4..6d7fa0b7 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -839,7 +839,7 @@ findAndFollowLink = (linkStrings) ->
findAndFollowRel = (value) ->
relTags = ["link", "a", "area"]
for tag in relTags
- elements = document.getElementsByTagName(relTag)
+ elements = document.getElementsByTagName(tag)
for element in elements
if (element.hasAttribute("rel") && element.rel == value)
followLink(element)