SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 9b968931 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

CSP: close one more inline script problem

parent 3d97d4e0
No related branches found
No related tags found
No related merge requests found
$(document).ready(function(){
$('#ref_reason').hide();
$('#id_accept').on('change', function() {
if ($('#id_accept_1').is(':checked')) {
$('#ref_reason').show();
}
else {
$('#ref_reason').hide();
}
});
});
{% load bootstrap %}
{% load staticfiles %}
<script type="text/javascript" src="{% static 'scipost/remark-form.js' %}"></script>
{% if auto_show %}
<form action="{% url 'submissions:add_remark' submission.preprint.identifier_w_vn_nr %}" method="post" class="pb-2">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment