diff options
| author | Jez Ng | 2012-09-09 20:40:54 -0400 | 
|---|---|---|
| committer | Jez Ng | 2012-09-09 20:40:54 -0400 | 
| commit | 99afbfc0018d078959e7bf36352771d9e9206338 (patch) | |
| tree | 2b0d8ce2090f75b2c24724d9fbd96427935a73f4 /lib/dom_utils.coffee | |
| parent | 44ed1848548d4c73c35c3302fc47ebfc8295dcae (diff) | |
| download | vimium-99afbfc0018d078959e7bf36352771d9e9206338.tar.bz2 | |
More lint fixes.
Diffstat (limited to 'lib/dom_utils.coffee')
| -rw-r--r-- | lib/dom_utils.coffee | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/lib/dom_utils.coffee b/lib/dom_utils.coffee index e7fa9c2f..30530e0d 100644 --- a/lib/dom_utils.coffee +++ b/lib/dom_utils.coffee @@ -87,11 +87,10 @@ DomUtils =            computedStyle = window.getComputedStyle(child, null)            # Ignore child elements which are not floated and not absolutely positioned for parent elements with            # zero width/height -          if (computedStyle.getPropertyValue('float') == 'none' && computedStyle.getPropertyValue('position') != 'absolute') -            continue +          continue if (computedStyle.getPropertyValue('float') == 'none' && +            computedStyle.getPropertyValue('position') != 'absolute')            childClientRect = @getVisibleClientRect(child) -          if (childClientRect == null) -            continue +          continue if (childClientRect == null)            return childClientRect      null | 
