Add empty element for Beamer, so they won't automatically show their icon
MAILPOET-1720
This commit is contained in:
@@ -20,6 +20,7 @@ class FeatureAnnouncement extends React.Component {
|
|||||||
loadBeamer() {
|
loadBeamer() {
|
||||||
window.beamer_config = {
|
window.beamer_config = {
|
||||||
product_id: 'VvHbhYWy7118',
|
product_id: 'VvHbhYWy7118',
|
||||||
|
selector: '#beamer-empty-element',
|
||||||
language: window.mailpoet_user_locale,
|
language: window.mailpoet_user_locale,
|
||||||
callback: this.beamerCallback,
|
callback: this.beamerCallback,
|
||||||
};
|
};
|
||||||
@@ -78,6 +79,7 @@ class FeatureAnnouncement extends React.Component {
|
|||||||
>
|
>
|
||||||
<span className="mailpoet_feature_announcement_icon dashicons dashicons-carrot" />
|
<span className="mailpoet_feature_announcement_icon dashicons dashicons-carrot" />
|
||||||
</button>
|
</button>
|
||||||
|
<span id="beamer-empty-element" />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user