aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStephen Blott2014-12-22 12:36:30 +0000
committerStephen Blott2014-12-22 12:36:30 +0000
commitff55b5bbf2a1b3c3310c93a2851b8bc3a7c491b3 (patch)
treeccb6ed179f139af08bc2ad26f2af9f3a6c59bd8b /lib
parent58191de5302f5bf52852c686777c385965013c07 (diff)
parentc1ffbc88ed1e340a7a046e1d75499642bf220e7f (diff)
downloadvimium-ff55b5bbf2a1b3c3310c93a2851b8bc3a7c491b3.tar.bz2
Merge branch 'link-hints-overlap' of https://github.com/mrmr1993/vimium into mrmr1993-link-hints-overlap
Diffstat (limited to 'lib')
-rw-r--r--lib/dom_utils.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dom_utils.coffee b/lib/dom_utils.coffee
index 8bb099a1..2447b4bb 100644
--- a/lib/dom_utils.coffee
+++ b/lib/dom_utils.coffee
@@ -59,7 +59,7 @@ DomUtils =
continue if (computedStyle.getPropertyValue('float') == 'none' &&
computedStyle.getPropertyValue('position') != 'absolute')
childClientRect = @getVisibleClientRect(child)
- continue if clientRect == null
+ continue if childClientRect == null or childClientRect.width < 3 or childClientRect.height < 3
return childClientRect
else