Some template cleanup

This commit is contained in:
2021-01-28 18:37:41 +00:00
parent 2351201e13
commit cc233e0223
7 changed files with 28 additions and 56 deletions

View File

@@ -4,7 +4,7 @@
{% load widget_tweaks %}
{% block js %}
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script src="{% static 'js/jquery-ui.js' %}"></script>
<script src="{% static "js/interaction.js" %}"></script>
<script src="{% static "js/modal.js" %}"></script>
<script>
@@ -23,7 +23,7 @@
success: function(){
$link = $(this);
// Anti modal inception
if ($link.parents('#modal').length == 0) {
if ($link.parents('#modal').length === 0) {
modaltarget = $link.data('target');
modalobject = "";
$('#modal').load(url, function (e) {