Closed nhunzaker closed 9 years ago
As best as I can tell, the real problem is here:
https://github.com/vigetlabs/washi/blob/master/src/delegate.js#L17
I can think of a couple of solutions. We could return false
in matches.js
if the element provided is not a DOM element, or we can check to make sure that there is a valid parent in delegate
. Thoughts?
Fixed
cc @cwmanning