Skip to content

Commit

Permalink
Merge pull request #488 from digitalfabrik/remove-jquery
Browse files Browse the repository at this point in the history
Remove vulnerable jQuery
  • Loading branch information
timobrembeck committed Jul 25, 2023
2 parents 34bbd02 + ad7df11 commit 01321f4
Show file tree
Hide file tree
Showing 23 changed files with 3 additions and 25,585 deletions.
1 change: 0 additions & 1 deletion lunes_cms/cms/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class ManyToManyOverlay(FilteredSelectMultiple):

class Media:
js = (
"js/jquery.min.js",
"js/manytomany_overlay.js",
"js/overlay.js",
reverse_lazy("javascript-translations"),
Expand Down
4 changes: 2 additions & 2 deletions lunes_cms/help/templates/public_upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<title>Lunes App - Bild beitragen</title>

<link href="static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="{% static 'bootstrap/css/bootstrap.min.css' %}" rel="stylesheet">
<style>
html,
body {
Expand Down Expand Up @@ -52,7 +52,7 @@
border-bottom-left-radius: 0;
}
</style>
<script src="static/js/jquery.min.js"></script>
<script src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
<script>
var lunes_training_sets = JSON.parse('{{ training_sets|safe }}');
var lunes_documents = JSON.parse('{{ documents|safe }}');
Expand Down

0 comments on commit 01321f4

Please sign in to comment.