1
0
Parcourir la source

Host jquery ourselves (instead of Google)

Baptiste Jonglez il y a 11 ans
Parent
commit
dff284928c
2 fichiers modifiés avec 9557 ajouts et 1 suppressions
  1. 9555 0
      coin/static/js/jquery.js
  2. 2 1
      coin/templates/admin/base_site.html

Fichier diff supprimé car celui-ci est trop grand
+ 9555 - 0
coin/static/js/jquery.js


+ 2 - 1
coin/templates/admin/base_site.html

@@ -1,8 +1,9 @@
 {% extends "admin/base.html" %}
 {% load i18n %}
+{% load staticfiles %}
 
 {% block extrahead %}
-    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.js" type="text/javascript"></script>
+    <script src="{% static "js/jquery.js" %}" type="text/javascript"></script>
     {% include 'autocomplete_light/static.html' %}
 {% endblock %}