mirror of https://github.com/searxng/searxng
[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>pull/3006/head
parent
76b91a3ef6
commit
903449e0b5
Loading…
Reference in New Issue