mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Use protocol-relative url for jQuery. Fixes #15.
HTTP urls are blocked in modern browsers when accessing the page over HTTPS (https://dpaste.de/), so jQuery wasn't being loaded and the rest of the javascript failed on various ReferenceError and TypeError exceptions around "$ is undefined".
This commit is contained in:
parent
3c30cdb599
commit
32dc8e5928
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
{% block script_footer %}
|
{% block script_footer %}
|
||||||
<script src="http://code.jquery.com/jquery.js"></script>
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
||||||
<script src="{% static "dpaste/bootstrap/js/bootstrap.min.js" %}"></script>
|
<script src="{% static "dpaste/bootstrap/js/bootstrap.min.js" %}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
Loading…
Reference in a new issue