Просмотр исходного кода

Moved js to thin template, so alerts work here.

Rafał Pitoń 11 лет назад
Родитель
Сommit
836da4ed1b

+ 0 - 2
misago/templates/misago/admin/base.html

@@ -25,7 +25,5 @@
 
 {% include "misago/admin/logout.html" %}
 
-{# We include JavaScript at the end of page body so it loads faster #}
-{% compressed_js 'misago' %}
 {% block extra_scripts %}{% endblock %}
 {% endblock %}

+ 2 - 0
misago/templates/misago/admin/base_thin.html

@@ -24,5 +24,7 @@
 
     {% block body %}{% endblock %}
 
+    {# We include JavaScript at the end of page body so it renders faster #}
+    {% compressed_js 'misago' %}
   </body>
 </html>