jQuery 3.1.1 error
-
There is an error in the console if you use the plugin with jQuery 3.1.1
jquery-3.1.1.min.js:4 Uncaught TypeError: a.indexOf is not a function at r.fn.init.r.fn.load (jquery-3.1.1.min.js:4) at aafg_script.js?ver=298:2
Solution:
Syntax on line 2 in aafg_script.js is deprecated
jQuery(window).load(function() {
should be
jQuery(window).on('load', function() {
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘jQuery 3.1.1 error’ is closed to new replies.