I have an error message in jQuery.readyException

I want to update jquery to the latest version

so I replaced 1.11.0 with 3.1.0

but it does not work

I have the error message 'Exception thrown in lib / js / lib.jquery.js,' safari 'is not undefined'

this error appears in jquery.readyException

how can i fix it

    jQuery.readyException = function( error ) {
         window.setTimeout( function() {
             throw error; // this point have error.
         } );
    };
+4
source share

Source: https://habr.com/ru/post/1649840/


All Articles