1
0
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:
Jason McBrayer 2018-05-15 10:06:09 -04:00
parent b465dc9870
commit 741304ee8c

View File

@ -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 %}