summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/js/searxng.head.js
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-11-30 12:43:18 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-11-30 12:43:18 +0100
commit4798acc6615efada91c8fb29083a521daf5e1e27 (patch)
treeb7926f91cee25b90369ac9d6410b0f679b13eb3e /searx/static/themes/simple/js/searxng.head.js
parent7dc9cc91a89ba482b4de2ea2acb47044aca87bcb (diff)
[build] /static
Diffstat (limited to 'searx/static/themes/simple/js/searxng.head.js')
-rw-r--r--searx/static/themes/simple/js/searxng.head.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/static/themes/simple/js/searxng.head.js b/searx/static/themes/simple/js/searxng.head.js
index 21b1754bf..dab0e368a 100644
--- a/searx/static/themes/simple/js/searxng.head.js
+++ b/searx/static/themes/simple/js/searxng.head.js
@@ -24,6 +24,10 @@
hotkeys: script.getAttribute('data-hotkeys') === 'true',
static_path: script.getAttribute('data-static-path'),
translations: JSON.parse(script.getAttribute('data-translations')),
+ theme : {
+ // image that is displayed if load of <img src='...'> failed
+ img_load_error: 'img/img_load_error.svg'
+ }
};
// update the css