Removed external svg from filter command.

This commit is contained in:
orangemug 2018-09-23 14:48:19 +01:00
parent bcdc7c6811
commit 8b67499a64

View file

@ -456,7 +456,7 @@ export default class App extends React.Component {
} }
const elementStyle = {}; const elementStyle = {};
if (filterName) { if (filterName) {
elementStyle.filter = `url('color-accessibility.svg#${filterName}')`; elementStyle.filter = `url('#${filterName}')`;
}; };
return <div style={elementStyle} className="maputnik-map__container"> return <div style={elementStyle} className="maputnik-map__container">