Remove maki file name postfix "-11" after update
This commit is contained in:
parent
89d9e8763a
commit
e863e4188c
2 changed files with 27 additions and 28 deletions
|
|
@ -191,8 +191,7 @@ BR.LayersConfig = L.Class.extend({
|
|||
|
||||
if (icon && iconPrefix.test(icon)) {
|
||||
const iconName = icon.replace(iconPrefix, '');
|
||||
const postfix = icon.startsWith('maki-') ? '-11' : '';
|
||||
iconUrl = `dist/images/${iconName}${postfix}.svg`;
|
||||
iconUrl = `dist/images/${iconName}.svg`;
|
||||
}
|
||||
|
||||
return iconUrl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue