mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[fix] simple theme: disable hotkeys when they are not enabled in the preferences
This commit is contained in:
parent
ba342db55e
commit
d1c09c84e2
3 changed files with 17 additions and 14 deletions
|
|
@ -24,6 +24,7 @@
|
|||
data-autocompleter="{% if autocomplete %}true{% else %}false{% endif %}"
|
||||
data-search-on-category-select="{{ 'true' if 'plugins/js/search_on_category_select.js' in scripts else 'false'}}"
|
||||
data-infinite-scroll="{{ 'true' if 'plugins/js/infinite_scroll.js' in scripts else 'false' }}"
|
||||
data-hotkeys="{{ 'true' if 'plugins/js/vim_hotkeys.js' in scripts else 'false' }}"
|
||||
data-static-path="{{ url_for('static', filename='themes/simple') }}/"
|
||||
data-translations="{{ translations }}"></script>
|
||||
<!--<![endif]-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue