Skip to content
Snippets Groups Projects
Unverified Commit 8ca8e81f authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Replace "replaceAll" with split/join for more browser compatibility

parent a794cd54
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ export class Icon extends LitElement {
render() {
const iconURL = getIconSVGURL(this.name);
const iconPart = this.name.trim().replaceAll(" ", "");
const iconPart = this.name.trim().split(' ').join('');
return html`
<style>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment