mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
removed js_block: use page_js or app_js instead
This commit is contained in:
parent
2751a8e848
commit
e2a867901d
@ -56,8 +56,7 @@
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block js_block %}
|
||||
{{ js|safe }}
|
||||
{% block page_js %}
|
||||
|
||||
<script type="text/javascript">
|
||||
(function($) {
|
||||
|
||||
@ -176,9 +176,6 @@
|
||||
<!-- Local link to system Bootstrap JS -->
|
||||
<script type="text/javascript" src="{% static 'theme/bootstrap/js/bootstrap.min.js' %}"></script>
|
||||
|
||||
{% block js_block %}
|
||||
{{ js|safe }}
|
||||
{% endblock %}
|
||||
{% block app_js %}<!-- placeholder for app-specific js files -->{% endblock %}
|
||||
{% block page_js %}<!-- placeholder for page-specific js files -->{% endblock %}
|
||||
</body>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user