Skip to main content
Participant
December 7, 2023
Question

Getting warnings about old version of jquery

  • December 7, 2023
  • 2 replies
  • 606 views

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

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    April 23, 2024

    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 😉

     

    Community Expert
    April 24, 2024

    So you fixed your old problem. lol

    kglad
    Community Expert
    Community Expert
    December 7, 2023