diff --git a/src/js/custom.js b/src/js/custom.js index 852fb2ee..95a76034 100644 --- a/src/js/custom.js +++ b/src/js/custom.js @@ -240,7 +240,7 @@ if (typeof NProgress != 'undefined') { NProgress.start(); }); - $(window).load(function () { + $(window).on('load',function() { NProgress.done(); }); }