mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-11-02 16:37:19 -04:00
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
Block a user