Copy link to clipboard
Copied
When running on a Chrome browser any of my Animate programs that access a mysql database using ajax and PHP, I get the following warning:
jquery-3.4.1.min.js?1701946141338:2 [Deprecation] Listener added for a synchronous 'DOMNodeRemoved' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
add @ jquery-3.4.1.min.js?1701946141338:2
The latest version of jquery appears to be 3.7.1 but how can I update my version which is presumably referenced in Animate?
Mant thanks if you have any suggestions
Melvyn
Copy link to clipboard
Copied
either ignore it and/or change your html, https://helpx.adobe.com/animate/using/creating-publishing-html5-canvas-document.html
Copy link to clipboard
Copied
I found and changed this as suggested, it's on line 135 in anwidget.js:
$(parent).bind("MutationObserver", function(e) { //$(parent).bind("DOMNodeRemoved", function(e) {
That got rid of the error message and did not break anything so far 😉
Copy link to clipboard
Copied
So you fixed your old problem. lol