Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit cfc5b58f authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

fix auto complete

parent 1228b02b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
    return {
        autocompleter: script.getAttribute('data-autocompleter') === 'true',
        method: script.getAttribute('data-method'),
        translations: JSON.parse(script.getAttribute('data-translations'))
    };
})(document);
;/**
+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+1 −2
Original line number Diff line number Diff line
@@ -107,8 +107,7 @@
    {% if autocomplete %}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js', v=version) }}"></script>{% endif %}
    <script src="{{ url_for('static', filename='js/searx.min.js', v=version) }}"
            data-method="{{ method or 'POST' }}"
            data-autocompleter="{% if autocomplete %}true{% else %}false{% endif %}"
            data-translations="{{ translations }}"></script>
            data-autocompleter="{% if autocomplete %}true{% else %}false{% endif %}"></script>
    {% for script in scripts %}
    <script src="{{ url_for('static', filename=script, v=version) }}"></script>
    {% endfor %}