Kaynağa Gözat

calling jquery.min instead of uncompressed version
calling new modernzr file rather than header.js

Eddie Machado 15 yıl önce
ebeveyn
işleme
a4055d7b87
1 değiştirilmiş dosya ile 2 ekleme ve 7 silme
  1. 2 7
      header.php

+ 2 - 7
header.php

@@ -25,15 +25,10 @@
 		<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/library/css/default.css">
 		
 		<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
-		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
+		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
 		<script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/library/js/libs/jquery-1.5.1.min.js"%3E%3C/script%3E'))</script>
 		
-		<script src="<?php echo get_template_directory_uri(); ?>/library/js/header.js"></script>
-		
-		<!--[if lt IE 9]>
-			<script src="<?php echo get_template_directory_uri(); ?>/library/js/libs/ie/DOMAssistant-2.0.min.js"></script>
-			<script src="<?php echo get_template_directory_uri(); ?>/library/js/libs/ie/selectivizr.js"></script>
-		<![endif]-->
+		<script src="<?php echo get_template_directory_uri(); ?>/library/js/modernizr.js"></script>
 		
 		<!-- wordpress head functions -->
   		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">