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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
{% if not fullbrutalism %}
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
var file = document.getElementById("id_media_file_1");
|
var file = document.getElementById("id_media_file_1");
|
||||||
file.onchange = function(){
|
file.onchange = function(){
|
||||||
|
@ -75,3 +76,4 @@ file.onchange = function(){
|
||||||
};
|
};
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue