Closed budarin closed 9 years ago
sorry it's my bug. Please delete the issue
Hi @budarin, ok, thanks.
Hello, actually I have the same issue in IE11. What was the solution to fix it?
version jBone v1.0.28
Sorry, I don't remember the context but it was not the library's problem
Hi @alexandrbig,
Could you show example of usage .contains
.
http://screencast.com/t/qS1SDLUa
I've added $(document).on(...) and it calls dispatch method.
It seems that my issue is not the same, but similar I've got error in line 399:
(el !== e.target && el.contains(e.target))
Hello, the problem is in absense of contains
method for document
in IE but document.body
has this method.
So $(document).on(...)
may not work in IE but $(document.body).on(...)
will do.
jBone.contains = function(container, contained) { var result; container.reverse().some(function(el) { if (el.contains(contained)) { //<------ error: Object doesn't support property or method 'contains' return result = el; } }); return result; };