Merge pull request #483 from NicksonYap/patch-1

Update depreciated .load() function
This commit is contained in:
Christian Esperar 2017-05-22 00:04:07 +08:00 committed by GitHub
commit bc295c92b9

View file

@ -240,7 +240,7 @@ if (typeof NProgress != 'undefined') {
NProgress.start();
});
$(window).load(function () {
$(window).on('load',function() {
NProgress.done();
});
}