aboutsummaryrefslogtreecommitdiff
path: root/src/main/assets
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-23 12:27:45 +0300
committerGravatar Vitaly Takmazov2019-10-23 12:27:45 +0300
commit2195b697d770721655c595a688d712d0c648d73d (patch)
tree0d7359cf11c3bb7f2ae40024df98e4bca2668d00 /src/main/assets
parent5f4e0a624825427df87a00dead2e9a58ef4f8e40 (diff)
Fix svg icon from script
Diffstat (limited to 'src/main/assets')
-rw-r--r--src/main/assets/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/assets/scripts.js b/src/main/assets/scripts.js
index e181de7e..3253b23b 100644
--- a/src/main/assets/scripts.js
+++ b/src/main/assets/scripts.js
@@ -53,7 +53,7 @@ function autosize(el) {
}
function evilIcon(name) {
- return `<div class="icon icon--${name}"><svg class="icon__cnt"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#${name}-icon"></use></svg></div>`;
+ return `<div class="icon icon--${name}"><svg class="icon__cnt"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/sprite.svg#${name}-icon"></use></svg></div>`;
}
/* eslint-disable only-ascii/only-ascii */