aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2014-12-30 15:59:26 +0000
committerStephen Blott2014-12-30 15:59:26 +0000
commit8f998f5b4cd1d8600b62ae7faac8afb91c4d2dab (patch)
treea860d2d7a8fce67c80fb0438de294b267a6b7f23
parentc28ef7af903b04552fc733cf346195e2b8863fda (diff)
downloadvimium-8f998f5b4cd1d8600b62ae7faac8afb91c4d2dab.tar.bz2
Update comment in getVisibleClickable.
-rw-r--r--content_scripts/link_hints.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 8d476529..9f21d109 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -125,9 +125,9 @@ LinkHints =
marker
#
- # Determine whether the element is visible and clickable. If it is, return the element and the rect bounding
- # the element in the viewport. There may be more than one part of element which is clickable (for example,
- # if it's an image), therefore we return a list of element/rect pairs.
+ # Determine whether the element is visible and clickable. If it is, find the rect bounding the element in
+ # the viewport. There may be more than one part of element which is clickable (for example, if it's an
+ # image), therefore we always return a array of element/rect pairs (which may also be a singleton or empty).
#
getVisibleClickable: (element) ->
tagName = element.tagName.toLowerCase()