Skip to content
Snippets Groups Projects
Commit ecd0e1a0 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Move inline js to separate file

parent 44c0e79c
No related branches found
No related tags found
No related merge requests found
...@@ -60,9 +60,5 @@ ...@@ -60,9 +60,5 @@
{% endif -%} {% endif -%}
{% endblock content -%} {% endblock content -%}
{% block postload %} {% block postload %}
<script> <script src="{{ asset('js/metadata-converter.js', 'admin') }}"></script>
document.getElementById('file-input').addEventListener('change', function () {
document.getElementById('show-file').innerHTML = this.files.item(0).name;
});
</script>
{% endblock postload %} {% endblock postload %}
document.getElementById('file-input').addEventListener('change', function () {
document.getElementById('show-file').innerHTML = this.files.item(0).name;
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment