Ponysearch/searx/static/themes/simple/src/js
Jinyuan Huang 903449e0b5 [fix] Images cannot be clicked anymore #3006
URL in sidedbar only exists in HTTP POST requests.  On HTTP GET requests the
selector ``#search_url button#copy_url`` results in a ``null`` type and a
``.style.display`` raises::

   Uncaught TypeError: d.querySelector(...) is null

As a result, the initialization of the event handler is no longer carried out.

Closes: https://github.com/searxng/searxng/issues/3003
Suggested-by: Markus Heiser <markus.heiser@darmarit.de>
2023-11-14 13:28:50 +01:00
..
head [mod] client_settings: pass settings from server to JS client 2022-05-07 17:58:30 +02:00
main [fix] Images cannot be clicked anymore #3006 2023-11-14 13:28:50 +01:00