If autocomplete_enabled is 1 in display.html, then enable autocomplete script.

This commit is contained in:
DUO Labs 2022-01-13 21:28:21 -05:00 committed by GitHub
parent 9ef72d2862
commit a908985429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,9 @@
{{ response|safe }}
</body>
{% include 'footer.html' %}
<script src="{{ cb_url('autocomplete.js') }}"></script>
{% if autocomplete_enabled == '1' %}
<script src="{{ cb_url('autocomplete.js') }}"></script>
{% endif %}
<script src="{{ cb_url('utils.js') }}"></script>
<script src="{{ cb_url('keyboard.js') }}"></script>
<script src="{{ cb_url('currency.js') }}"></script>