mirror of
https://github.com/valitydev/gentelella.git
synced 2024-11-06 08:15:17 +00:00
Fix Uncaught TypeError: Cannot read property 'style' of null when NProgress start
This commit is contained in:
parent
06b2c0c3d5
commit
725fdf86fc
@ -25,9 +25,6 @@
|
||||
|
||||
<script src="js/jquery.min.js"></script>
|
||||
<script src="js/nprogress.js"></script>
|
||||
<script>
|
||||
NProgress.start();
|
||||
</script>
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="../assets/js/ie8-responsive-file-warning.js"></script>
|
||||
|
@ -303,6 +303,7 @@ $(function () {
|
||||
});
|
||||
|
||||
/** ****** Accordion *********************** **/
|
||||
|
||||
/** ****** scrollview *********************** **/
|
||||
$(document).ready(function () {
|
||||
|
||||
@ -312,4 +313,16 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
});
|
||||
/** ****** /scrollview *********************** **/
|
||||
/** ****** /scrollview *********************** **/
|
||||
|
||||
/** ****** NProgress *********************** **/
|
||||
if (typeof NProgress != 'undefined') {
|
||||
$(document).ready(function () {
|
||||
NProgress.start();
|
||||
});
|
||||
|
||||
$(window).load(function () {
|
||||
NProgress.done();
|
||||
});
|
||||
}
|
||||
/** ****** NProgress *********************** **/
|
Loading…
Reference in New Issue
Block a user