diff options
| author | mrpaulblack <paul@paulgo.io> | 2021-11-21 21:38:00 +0100 |
|---|---|---|
| committer | mrpaulblack <paul@paulgo.io> | 2021-11-21 21:38:00 +0100 |
| commit | f3aff26086dda1c2610c9aa845db119ad413006f (patch) | |
| tree | 7e312aafdb1831b46a709089fd3f7875d1b7cd6b /searx/static/themes/simple/src/js | |
| parent | 02cccdf876f2e0b07ef488e6033a858113dc3f1c (diff) | |
[simple theme] rework select; add safesearch to search and replace / with › in article url
* rework selection UI in pref (fix based on: https://github.com/twelsby/searx/commit/78643e9f43a103c523f112e9f3ce26a5c7bb3a0f)
* moved search filters underneath categories
* cut params from url and replace / with ›
* make h3 and url in article bigger
* add safe search select to search filter (this will not override settings and only be valid while on result page in a session)
* make search form button not overlap each other when js is disabled
* 1rem padding around preview image and thumbnail in default article template
Diffstat (limited to 'searx/static/themes/simple/src/js')
| -rw-r--r-- | searx/static/themes/simple/src/js/main/search.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/js/main/search.js b/searx/static/themes/simple/src/js/main/search.js index d3149340a..0244a90ea 100644 --- a/searx/static/themes/simple/src/js/main/search.js +++ b/searx/static/themes/simple/src/js/main/search.js @@ -98,6 +98,7 @@ return false; }); + searxng.on(d.getElementById('safesearch'), 'change', submitIfQuery); searxng.on(d.getElementById('time_range'), 'change', submitIfQuery); searxng.on(d.getElementById('language'), 'change', submitIfQuery); } |