complete strings document, adjust structure
This commit is contained in:
1 parent
877e9e7208
commit
b04917109d
12 files changed
+94
-15
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ function createUse(type, id) {
|
||||
const path = c.path || '';
|
||||
const ver = c.resver == null ? '' : `?${c.resver}`;
|
||||
const use = document.createElementNS(svgns, 'use');
|
||||
use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', `${path}lib/fonts/${type}.svg${ver}#${id}`);
|
||||
use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', `${path}fonts/${type}.svg${ver}#${id}`);
|
||||
return use;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user