summaryrefslogtreecommitdiff
path: root/searx/static
diff options
context:
space:
mode:
authormrpaulblack <paul@paulgo.io>2022-05-10 22:40:46 +0200
committermrpaulblack <paul@paulgo.io>2022-05-10 22:40:46 +0200
commit33c0a9e41021575945e847b1dbc1bfd14d0c5401 (patch)
tree5fcf871a346a41f7e126ff0718fffdcd1c1acf76 /searx/static
parente869cbed5b385a489a2104024789210690890a12 (diff)
downloadsearxng-33c0a9e41021575945e847b1dbc1bfd14d0c5401.tar.gz
searxng-33c0a9e41021575945e847b1dbc1bfd14d0c5401.zip
[fix] loading of external resources in JS client toolkit
Diffstat (limited to 'searx/static')
-rw-r--r--searx/static/themes/simple/src/js/main/00_toolkit.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/static/themes/simple/src/js/main/00_toolkit.js b/searx/static/themes/simple/src/js/main/00_toolkit.js
index 699731ee4..e23142412 100644
--- a/searx/static/themes/simple/src/js/main/00_toolkit.js
+++ b/searx/static/themes/simple/src/js/main/00_toolkit.js
@@ -101,7 +101,7 @@ window.searxng = (function (w, d) {
};
searxng.loadStyle = function (src) {
- var path = searxng.settings.theme_static_path + src,
+ var path = searxng.settings.theme_static_path + "/" + src,
id = "style_" + src.replace('.', '_'),
s = d.getElementById(id);
if (s === null) {
@@ -115,7 +115,7 @@ window.searxng = (function (w, d) {
};
searxng.loadScript = function (src, callback) {
- var path = searxng.settings.theme_static_path + src,
+ var path = searxng.settings.theme_static_path + "/" + src,
id = "script_" + src.replace('.', '_'),
s = d.getElementById(id);
if (s === null) {