Fix JS and Vue (#10328)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser authored and GitHub committed 2020-02-18 08:07:57 +02:00
1 parent 83801663ce
commit d3f618362a
2 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -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>`;
}