mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
Only load jquery.validate where we need it
(imported from commit 9c6bcb95932c70bf7a8b34733d9ffacab971f33c)
This commit is contained in:
parent
26b1192445
commit
39bb10a24a
@ -21,7 +21,6 @@
|
||||
<link href="/static/favicon.ico?v=2" rel="shortcut icon">
|
||||
{# We need to import jQuery before Bootstrap #}
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
||||
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script>
|
||||
<script src="/static/third/bootstrap/js/bootstrap.min.js"></script>
|
||||
{% compressed_js 'common' %}
|
||||
{% block customhead %}
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
{% compressed_css 'app' %}
|
||||
<link rel="stylesheet" href="/static/third/spectrum/spectrum.css" />
|
||||
|
||||
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script>
|
||||
<script type="text/javascript" src="/static/third/jquery/jquery.form.js"></script>
|
||||
<script type="text/javascript" src="/static/third/jquery/jquery.highlight.js"></script>
|
||||
<script type="text/javascript" src="/static/third/jquery/jquery.filedrop.js"></script>
|
||||
|
||||
@ -6,5 +6,6 @@
|
||||
|
||||
{% block customhead %}
|
||||
{{ block.super }}
|
||||
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script>
|
||||
{% compressed_js 'signup' %}
|
||||
{% endblock %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user