Right. It should be 

``` coffeescript
if divCont.node() is target or $(parent.node()).find(target).length
```
?