From 1df18803d8a0376062df683b111f260873b305da Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 8 Feb 2024 12:38:22 +0000 Subject: [PATCH] Remove trailing slash on some
elements --- src/nationalarchives/analytics.mjs | 1 + src/nationalarchives/components/footer/template.njk | 2 +- .../stories/utilities/colour-schemes/colour-themes.stories.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/nationalarchives/analytics.mjs b/src/nationalarchives/analytics.mjs index 4a860836..58bd65ad 100644 --- a/src/nationalarchives/analytics.mjs +++ b/src/nationalarchives/analytics.mjs @@ -242,6 +242,7 @@ analytics.addListener(document.documentElement, "doc", [ }, }, ]); + analytics.addListener(document.getElementById("tna-form__search"), "search", [ { eventName: "search_term_blur", diff --git a/src/nationalarchives/components/footer/template.njk b/src/nationalarchives/components/footer/template.njk index 51236bdb..fb7a14cc 100644 --- a/src/nationalarchives/components/footer/template.njk +++ b/src/nationalarchives/components/footer/template.njk @@ -13,7 +13,7 @@ {%- if params.meta -%} diff --git a/src/nationalarchives/stories/utilities/colour-schemes/colour-themes.stories.js b/src/nationalarchives/stories/utilities/colour-schemes/colour-themes.stories.js index 0625364b..394481f9 100644 --- a/src/nationalarchives/stories/utilities/colour-schemes/colour-themes.stories.js +++ b/src/nationalarchives/stories/utilities/colour-schemes/colour-themes.stories.js @@ -1175,7 +1175,7 @@ const Template = ({ theme, accent }) => { ${Footer({ params: { - meta: "

Open today
09:00—19:00

", + meta: "

Open today
09:00—19:00

", social: [ { text: "Twitter",