mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +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:
parent
675e8dd5cd
commit
649579eccd
@ -235,7 +235,6 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block js %}
|
||||
<script src="{{ url_for('static', filename='js/libs/jquery.form.js') }}"></script>
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
$('#have_read_form').ajaxForm();
|
||||
|
@ -28,6 +28,7 @@
|
||||
<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/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>
|
||||
|
||||
{% block header %}{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user