mirror of
https://github.com/searxng/searxng.git
synced 2025-08-01 17:42:21 +02: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
|
@ -21,6 +21,7 @@
|
|||
autocompleter: script.getAttribute('data-autocompleter') === 'true',
|
||||
search_on_category_select: script.getAttribute('data-search-on-category-select') === 'true',
|
||||
infinite_scroll: script.getAttribute('data-infinite-scroll') === 'true',
|
||||
hotkeys: script.getAttribute('data-hotkeys') === 'true',
|
||||
static_path: script.getAttribute('data-static-path'),
|
||||
translations: JSON.parse(script.getAttribute('data-translations')),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue