move theme.js to static/ and include it in base.html

This commit is contained in:
Son NK 2020-05-15 23:40:30 +02:00
parent d97b52184e
commit c9b75c338e
2 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,8 @@
</script>
<script src="/static/local-storage-polyfill.js"></script>
<script src="{{ url_for('static', filename='local-storage-polyfill.js.js') }}"></script>
<script src="{{ url_for('static', filename='js/theme.js') }}"></script>
<!-- For additional script -->
{% block script %}