fakeLoader.js is a lightweight jQuery plugin that helps you create an animated spinner with a fullscreen loading mask to simulate the page preloading effect.
MIT License
721
stars
270
forks
source link
Uncaught TypeError: a.indexOf is not a function” error on load #27
This error might be caused by jquery event aliases like .load, .unload or .error deprecated since jQuery 1.8. Look for these aliases in your code and replace them with .on() to register listeners instead. Example:
fakeLoader.js [line:120]
$(window).load(function(){...});
This error might be caused by jquery event aliases like .load, .unload or .error deprecated since jQuery 1.8. Look for these aliases in your code and replace them with .on() to register listeners instead. Example: fakeLoader.js [line:120]
$(window).load(function(){...});
becomes:
$(window).on('load', function(){ ...});