Skip to content

Commit 1cd3cf2

Browse files
arthurvrscottgonzalez
authored andcommitted
All Sites: Simplify fallback loading of jQuery
Closes gh-328
1 parent c2132dd commit 1cd3cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/jquery/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<script src="<?php echo get_template_directory_uri(); ?>/js/modernizr.custom.2.6.2.min.js"></script>
3030

3131
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
32-
<script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.9.1.min.js"%3E%3C/script%3E'))</script>
32+
<script>window.jQuery || document.write('<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.9.1.min.js"><\/script>')</script>
3333

3434
<script src="<?php echo get_template_directory_uri(); ?>/js/plugins.js"></script>
3535
<script src="<?php echo get_template_directory_uri(); ?>/js/main.js"></script>

0 commit comments

Comments
 (0)