From e79537231f35215339c04d1e01347974bd4bd810 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Mon, 22 Dec 2014 12:33:14 +0000 Subject: Correct a typo, add some tests for consistency --- lib/dom_utils.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3