aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/utils.js')
-rw-r--r--web_src/js/utils.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/web_src/js/utils.js b/web_src/js/utils.js
index 2effddd685..b000c1af77 100644
--- a/web_src/js/utils.js
+++ b/web_src/js/utils.js
@@ -1,5 +1,3 @@
-const { StaticUrlPrefix } = window.config;
-
export function svg(name, size) {
- return `<svg class="svg ${name}" width="${size}" height="${size}" aria-hidden="true"><use xlink:href="${StaticUrlPrefix}/img/svg/icons.svg#${name}"/></svg>`;
+ return `<svg class="svg ${name}" width="${size}" height="${size}" aria-hidden="true"><use xlink:href="#${name}"/></svg>`;
}