Skip to content

Commit

Permalink
Merge pull request #787 from NaturalHistoryMuseum/josh/minor_bbcm_cha…
Browse files Browse the repository at this point in the history
…nges

Minor changes to Big Butterfly Count Map page
  • Loading branch information
jrdh authored Jul 12, 2024
2 parents fc18ec1 + da336bb commit 3c3b247
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions ckanext/nhm/theme/assets/scripts/bbcm.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ function createPopup(latlng, specs) {
baseUrl +
'/object/' +
specimen.occurrenceID +
'/' +
version.toString() +
'">View on the Data Portal</a>';
popupContent += '</div>';

Expand Down
17 changes: 0 additions & 17 deletions ckanext/nhm/theme/templates/bbcm.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,6 @@

{%- block page %}
{{ super() }}
<!-- GA -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'//www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-5MDTTC');
</script>

<div id="map"></div>

<div id="details">
Expand Down

0 comments on commit 3c3b247

Please sign in to comment.