mirror of https://gitlab.com/brutaldon/brutaldon
Be sure not to include inline scripts in FULLBRUTALISM mode
This commit is contained in:
parent
b465dc9870
commit
741304ee8c
|
@ -65,6 +65,7 @@
|
|||
</div>
|
||||
</form>
|
||||
|
||||
{% if not fullbrutalism %}
|
||||
<script type="application/javascript">
|
||||
var file = document.getElementById("id_media_file_1");
|
||||
file.onchange = function(){
|
||||
|
@ -75,3 +76,4 @@ file.onchange = function(){
|
|||
};
|
||||
|
||||
</script>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue