Commits

Albert O'Connor  committed aa1a9d1

Death to jquery/javascript at the bottom of a page. Premature optimization.

  • Participants
  • Parent commits a68f758

Comments (0)

Files changed (1)

File viscount/templates/html5-base.html

   {% endblock %}
     
   <script src="{% get_static_prefix %}js/libs/modernizr-1.7.min.js"></script>
+  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
+  <script>window.jQuery || document.write('<script src="{% get_static_prefix %}js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
   {% block head_js %}
   {% endblock %}
   
     {% endblock %}
     </footer>
   </div> 
-
-  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
-  <script>window.jQuery || document.write('<script src="{% get_static_prefix %}js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
-  {% block end_body_js %}
-  {% endblock %}
-
 </body>
 </html>