Switch jQuery to CDNJS

This commit is contained in:
Aaron Lee 2021-10-28 18:51:44 +08:00
parent f1541a7b20
commit abdb7efe92
10 changed files with 9 additions and 27 deletions

18
static/jquery.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -249,7 +249,7 @@
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<script type="text/javascript" src="/static/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<div id="loading" style="text-align:center; width:100%; display:none;"><img src="/static/loading.gif" alt=""
style="height:100%;" />
</div>

View file

@ -90,7 +90,7 @@
style="height:100%;" />
</div>
{% include 'footer.html' %}
<script type="text/javascript" src="/static/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="/static/pagejs/chgPassword.js"></script>
<script src="/static/time.js"></script>
</body>

View file

@ -55,7 +55,7 @@
style="height:100%;" />
</div>
{% include 'footer.html' %}
<script type=" text/javascript" src="/static/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="/static/pagejs/forgotPassword.js"></script>
<script src="/static/time.js"></script>
</body>

View file

@ -142,7 +142,7 @@
{% endfor %}
</div>
<script src=" https://cdn.jsdelivr.net/npm/signature_pad@2.3.2/dist/signature_pad.min.js"></script>
<script type="text/javascript" src="/static/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>

View file

@ -227,7 +227,7 @@
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/signature_pad@2.3.2/dist/signature_pad.min.js"></script>
<script type="text/javascript" src="/static/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>

View file

@ -70,7 +70,7 @@
style="height:100%;" />
</div>
{% include 'footer.html' %}
<script type="text/javascript" src="/static/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="/static/pagejs/login.js"></script>
<script src="/static/time.js"></script>
</body>

View file

@ -46,7 +46,7 @@
style="height:100%;" />
</div>
{% include 'footer.html' %}
<script type=" text/javascript" src="/static/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="/static/pagejs/selSubUser.js"></script>
<script src="/static/time.js"></script>
</body>

View file

@ -57,7 +57,7 @@
style="height:100%;" />
</div>
{% include 'footer.html' %}
<script type="text/javascript" src="/static/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="/static/pagejs/uploadcsv.js"></script>
<script src="/static/time.js"></script>
</body>

View file

@ -60,7 +60,7 @@
style="height:100%;" />
</div>
{% include 'footer.html' %}
<script type=" text/javascript" src="/static/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="/static/pagejs/verifiedChgPassword.js"></script>
<script src="/static/time.js"></script>
</body>