1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-25 02:57:22 +00:00

Move jquery.form to layout.html

This prevents it from getting loaded each time the details are viewed in a modal dialog.
This commit is contained in:
Jonathan Rehm 2017-07-06 10:18:51 -07:00
parent 675e8dd5cd
commit 649579eccd
2 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,6 @@
{% endblock %} {% endblock %}
{% block js %} {% block js %}
<script src="{{ url_for('static', filename='js/libs/jquery.form.js') }}"></script>
<script> <script>
$( document ).ready(function() { $( document ).ready(function() {
$('#have_read_form').ajaxForm(); $('#have_read_form').ajaxForm();

View File

@ -28,6 +28,7 @@
<script src="{{ url_for('static', filename='js/libs/intention.min.js') }}"></script> <script src="{{ url_for('static', filename='js/libs/intention.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/context.min.js') }}"></script> <script src="{{ url_for('static', filename='js/libs/context.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/plugins.js') }}"></script> <script src="{{ url_for('static', filename='js/libs/plugins.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/jquery.form.js') }}"></script>
<script src="{{ url_for('static', filename='js/main.js') }}"></script> <script src="{{ url_for('static', filename='js/main.js') }}"></script>
{% block header %}{% endblock %} {% block header %}{% endblock %}