jQuery 3+ “Uncaught TypeError: url.indexOf is not a function”
-
jQuery version 3.0 + shows console error
“Uncaught TypeError: url.indexOf is not a function”Requires the following changes to fix in
/wp-content/plugins/propertyhive/assets/js/flexslider/jquery.flexslider.init.jsfrom
$(window).load(function() {}to
$(window).on(‘load’, function() {}https://api.jquery.com/load-event/
.load( handler ) version deprecated: 1.8, removed: 3.0
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘jQuery 3+ “Uncaught TypeError: url.indexOf is not a function”’ is closed to new replies.