Skip to content

Commit 43bf8be

Browse files
committed
Remove jquery
1 parent 6b0ac22 commit 43bf8be

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "admin/change_form.html" %}
2-
{% load i18n %}
2+
{% load i18n %}
33

4-
{% block submit_buttons_bottom %}
4+
{% block submit_buttons_bottom %}
55

66

77
{{ block.super }}
@@ -11,17 +11,17 @@
1111

1212

1313
<div class="submit-row">
14-
<input type="button" class="export-btn" value="Рассылка." onclick="mailing()"/>
14+
<input type="button" class="export-btn" value="Рассылка" onclick="mailing()"/>
1515
</div>
16-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
1716
<script>
18-
function export_profiles(){
19-
window.open("{% url 'admin:export_profiles' object_id %}", '_blank').focus()
20-
}
21-
function mailing(){
22-
window.open("{% url 'admin:partner_programs_mailing' object_id %}", '_blank').focus()
23-
}
24-
</script>
17+
function export_profiles() {
18+
window.open("{% url 'admin:export_profiles' object_id %}", '_blank').focus()
19+
}
20+
21+
function mailing() {
22+
window.open("{% url 'admin:partner_programs_mailing' object_id %}", '_blank').focus()
23+
}
24+
</script>
2525

2626
{% endblock %}
2727

0 commit comments

Comments
 (0)