Browse Source

Merge branch 'dev'

Denis K 8 years ago
parent
commit
265f0a8e11
1 changed files with 2 additions and 2 deletions
  1. 2 2
      jet/templates/admin/base.html

+ 2 - 2
jet/templates/admin/base.html

@@ -24,11 +24,11 @@
     var DATETIME_FORMAT = "{% jet_get_datetime_format %}";
 </script>
 <script type="text/javascript" src="{% url 'jet:jsi18n' %}"></script>
-<script src="{% static "jet/js/build/bundle.min.js" %}"></script>
+<script src="{% static "jet/js/build/bundle.min.js" as url %}{{ url|jet_append_version }}"></script>
 
 {% jet_static_translation_urls as translation_urls %}
 {% for url in translation_urls %}
-    <script src="{% static url %}"></script>
+    <script src="{% static url as url %}{{ url|jet_append_version }}"></script>
 {% endfor %}
 
 {% block extrahead %}{% endblock %}