Merge pull request #96 from qazwsxedc121/master

Add JavaScript fallback for then jQuery can't be loaded online.
This commit is contained in:
Denis Kisselev 2013-10-16 12:00:09 -07:00
commit 013ac7f67b
2 changed files with 11 additions and 0 deletions

View File

@ -147,6 +147,11 @@ if ($homepage && $homepage_url !== '/') {
<!-- Navigation -->
<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/custom.js"></script>
<!--[if lt IE 9]>

6
js/jquery-1.10.2.min.js vendored Normal file

File diff suppressed because one or more lines are too long