mirror of
https://github.com/searxng/searxng.git
synced 2025-07-30 16:42:22 +02:00
This has been a regression introduced with the removal of
the unmaintained autocomplete.js library.
We should only focus the search bar on the main search page at `/`
and not at the results page located at `/search`.
I'm not sure if there's a better way to figure out if
we're on the results page than checking if the id of the
main element is `#main_results`, checking the path
obviously isn't a better solution because it can differ
depending on the instance / reverse proxy / ....
- related to
|
||
---|---|---|
.. | ||
generated | ||
src | ||
static | ||
tools | ||
.gitignore | ||
.stylelintrc.json | ||
eslint.config.js | ||
package-lock.json | ||
package.json | ||
README.rst | ||
theme_icons.js | ||
vite.config.js |
===================== MEMO vite development ===================== Local install:: # in folder ./client/simple/ $ npm install Start development server:: $ ./manage vite.simple.dev # in folder ./client/simple/ $ npm exec -- vite Fix source code:: # in folder ./client/simple/ $ npm run fix Fix & Build:: $ ./manage vite.simple.build