Closed idnovate closed 2 years ago
Thanks for the PR! It has been a while since this repo has seen much activity :).
I'm not entirely clear why this is needed since events
should be an object? Have you got an example page that shows the error?
I thought it happens in all pages but actually I could only find this error in our page :confused:
Looks like it is something to do with how jQuery are now storing their events. I'm not sure why but it is not inherited from Object
. Here is a little test with jQuery 3.5.1 showing the same thing: http://live.datatables.net/mopetiqi/1/edit .
Looks like it was this commit that when in for jQuery 3.5.0 that caused this.
Thanks for the patch here! I'll get it deployed on my server shortly.
Fix error
events.hasOwnProperty is not a function