Actually assign the replaced path for the default icon (#5580)
This commit is contained in:
parent
35e7c4b7f7
commit
3fae3befd3
@ -52,7 +52,7 @@ export var IconDefault = Icon.extend({
|
|||||||
if (path === null || path.indexOf('url') !== 0) {
|
if (path === null || path.indexOf('url') !== 0) {
|
||||||
path = '';
|
path = '';
|
||||||
} else {
|
} else {
|
||||||
path.replace(/^url\([\"\']?/, '').replace(/marker-icon\.png[\"\']?\)$/, '');
|
path = path.replace(/^url\([\"\']?/, '').replace(/marker-icon\.png[\"\']?\)$/, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
return path;
|
return path;
|
||||||
|
Loading…
Reference in New Issue
Block a user