Merge pull request #96 from qazwsxedc121/master
Add JavaScript fallback for then jQuery can't be loaded online.
This commit is contained in:
commit
013ac7f67b
@ -147,6 +147,11 @@ if ($homepage && $homepage_url !== '/') {
|
|||||||
|
|
||||||
<!-- Navigation -->
|
<!-- Navigation -->
|
||||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script>
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script>
|
||||||
|
<script>
|
||||||
|
if (typeof jQuery == 'undefined') {
|
||||||
|
document.write(unescape("%3Cscript src='<?php echo $base_url ?>/js/jquery-1.10.2.min.js' type='text/javascript'%3E%3C/script%3E"));
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="<?php echo $base_url ?>/js/bootstrap.min.js"></script>
|
<script src="<?php echo $base_url ?>/js/bootstrap.min.js"></script>
|
||||||
<script src="<?php echo $base_url ?>/js/custom.js"></script>
|
<script src="<?php echo $base_url ?>/js/custom.js"></script>
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
|
6
js/jquery-1.10.2.min.js
vendored
Normal file
6
js/jquery-1.10.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user