Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix notification data-content attr #1576

Benjamin King630bcb164a2b
diff --git a/web/css/notifications.css b/web/css/notifications.css
index 5318c575a..4d0addbc4 100644
--- a/web/css/notifications.css
+++ b/web/css/notifications.css
@@ -5,7 +5,7 @@
}
#wv-info-button::before {
- content: attr(datacontent) '';
+ content: attr(data-content) '';
display: block;
width: 20px;
height: 20px;
diff --git a/web/js/containers/toolbar.js b/web/js/containers/toolbar.js
index 9401c8f92..c675099f5 100644
--- a/web/js/containers/toolbar.js
+++ b/web/js/containers/toolbar.js
@@ -138,7 +138,7 @@ class toolbarContainer extends Component {
onClick={() =>
openModal('TOOLBAR_INFO', CUSTOM_MODAL_PROPS['TOOLBAR_INFO'])
}
- datacontent={notificationContentNumber}
+ data-content={notificationContentNumber}
>
<i className="fa fa-info-circle fa-2x" />{' '}
</Button>