aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/link_hints.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 616d40ee..c4bf3f96 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -150,7 +150,7 @@ LinkHints =
if map and imgClientRects.length > 0
areas = map.getElementsByTagName "area"
areasAndRects = DomUtils.getClientRectsForAreas imgClientRects[0], areas
- visibleElements = visibleElements.concat areasAndRects
+ visibleElements.push areasAndRects...
# Check aria properties to see if the element should be ignored.
if (element.getAttribute("aria-hidden")?.toLowerCase() in ["", "true"] or