aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authormrmr19932014-12-22 11:54:49 +0000
committermrmr19932014-12-22 11:54:49 +0000
commit15d094675c4e354becf58b5f66754dd939d5daeb (patch)
tree084cc97f2a9571180beb209c967e6dc2b540d1e3 /content_scripts
parent56ba56622c529d570285f42732f4f1ed29830987 (diff)
downloadvimium-15d094675c4e354becf58b5f66754dd939d5daeb.tar.bz2
Rename a poorly named variable
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/link_hints.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 9eb7b87c..616d40ee 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -149,8 +149,8 @@ LinkHints =
map = document.querySelector "map[name=\"#{mapName}\"]"
if map and imgClientRects.length > 0
areas = map.getElementsByTagName "area"
- areaRects = DomUtils.getClientRectsForAreas imgClientRects[0], areas
- visibleElements = visibleElements.concat areaRects
+ areasAndRects = DomUtils.getClientRectsForAreas imgClientRects[0], areas
+ visibleElements = visibleElements.concat areasAndRects
# Check aria properties to see if the element should be ignored.
if (element.getAttribute("aria-hidden")?.toLowerCase() in ["", "true"] or