searxngRebrandZaclys/searx/static/themes/simple/src
Markus Heiser f75199b1ec [fix] simple theme: hide the image if img load fails
Add event listener to query selector::

    '#urls img.image'

From the user point of view, I think it is better to hide the image:
img_load_error.svg is helplful in the image category because it still allows to
select the image. IMO, in the news category, the fact there is a missing image
won't help to choose the links. From a developer point of view, the place holder
is signal that may be the engine needs to be updated (at least give a look). The
browser console should show the same information too, but it requires some
additional steps. [1]

[1] https://github.com/searxng/searxng/pull/610#issuecomment-997640132

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-29 14:30:16 +01:00
..
generated [simple theme] update to ion icons 5 and drop webfont 2021-11-13 10:42:07 +01:00
js [fix] simple theme: hide the image if img load fails 2021-12-29 14:30:16 +01:00
less [mod] simple theme: remove vendor prefix of width: max-content 2021-12-15 14:43:15 +01:00
svg [brand] initial - folder src/brand for searxng-wordmark 2021-11-20 10:14:55 +01:00