Skip to content

Commit

Permalink
Publish 2024-06-12
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderby committed Jun 12, 2024
1 parent 2607b3d commit 0d8a41f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions elements/pay-tiers.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,11 @@ class PayTiersElement extends HTMLElement {
constructor() {
super();
const shadowRoot = this.attachShadow({mode: 'open'});

if (navigator.userAgent.includes('Safari') && !navigator.userAgent.includes('Chrom')) {
return;
}

const style = html('style', {}, cssText);
shadowRoot.append(style);
style.insertAdjacentHTML('afterend', htmlText);
Expand Down

0 comments on commit 0d8a41f

Please sign in to comment.