Merge pull request #483 from NicksonYap/patch-1
Update depreciated .load() function
This commit is contained in:
commit
bc295c92b9
|
@ -240,7 +240,7 @@ if (typeof NProgress != 'undefined') {
|
||||||
NProgress.start();
|
NProgress.start();
|
||||||
});
|
});
|
||||||
|
|
||||||
$(window).load(function () {
|
$(window).on('load',function() {
|
||||||
NProgress.done();
|
NProgress.done();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue