diff options
author | Alexandre Flament <alex@al-f.net> | 2021-03-10 18:28:58 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-03-11 09:32:22 +0100 |
commit | 44407353ef3dbab4e4249e9cca6955a500b8e539 (patch) | |
tree | 2c3f15b64674aad5477d06c5570a2fb82725e047 /searx/templates | |
parent | c7133efb12641c55395e5b249cbc3cf44d8c8dff (diff) | |
download | searxng-44407353ef3dbab4e4249e9cca6955a500b8e539.tar.gz searxng-44407353ef3dbab4e4249e9cca6955a500b8e539.zip |
[mod] oscar: get leaflet and jquery from NPM
easy to upgrade (package.json)
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/oscar/base.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index 18ff1675a..f8345d9a7 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -92,9 +92,9 @@ </p> </div> </div> - <script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script> + <script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script> <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script> - {% if load_leaflet %}{{" "}}<script src="{{ url_for('static', filename='js/leaflet-0.7.3.min.js') }}"></script>{{ "\n" }}{% endif %} + {% if load_leaflet %}{{" "}}<script src="{{ url_for('static', filename='js/leaflet.js') }}"></script>{{ "\n" }}{% endif %} {% if autocomplete %}{{" "}}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{{ "\n" }}{% endif %} <script src="{{ url_for('static', filename='js/searx.min.js') }}" |