Skip to content
Snippets Groups Projects
Commit c9496e9e authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Make vpu-spinner work in Edge

customElements isn't defined there
parent 5ce605c7
No related branches found
No related tags found
No related merge requests found
......@@ -117,5 +117,6 @@ transform:translateX(-100%) translateY(0%); visibility:visible;
}
}
if (!customElements.get('vpu-spinner'))
// customElements is undefined in Edge
if (typeof customElements != 'undefined' && !customElements.get('vpu-spinner'))
customElements.define('vpu-spinner', Spinner);
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