Add empty element for Beamer, so they won't automatically show their icon

MAILPOET-1720
This commit is contained in:
Ján Mikláš
2019-02-04 11:40:34 +01:00
parent 759ee9a919
commit ab1a9598ce

View File

@@ -20,6 +20,7 @@ class FeatureAnnouncement extends React.Component {
loadBeamer() {
window.beamer_config = {
product_id: 'VvHbhYWy7118',
selector: '#beamer-empty-element',
language: window.mailpoet_user_locale,
callback: this.beamerCallback,
};
@@ -78,6 +79,7 @@ class FeatureAnnouncement extends React.Component {
>
<span className="mailpoet_feature_announcement_icon dashicons dashicons-carrot" />
</button>
<span id="beamer-empty-element" />
</div>
);
}