govuk_publishing_components 24.14.0 → 24.14.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f4046fe3e64f043704bbc8da98b2a38f54c6bb854f05733322b4c32513ab12a
|
4
|
+
data.tar.gz: 814b350fc60058c20e4ff7dc83cd994e80843e5e1c0a4dcbd76e3dda50a6a41a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a5283a68af388d240fafd32499c0a076c7d4b284e9eee9b676ab6ef4f67415c249d6b7d77c180fd17cf570cf90e5e0780e4a05b8ff49bf6b80e0103cb4a5437
|
7
|
+
data.tar.gz: 3d73908921bcea616b99b747facaa2e864fe7d4db8c7d1bf5636d9971b204fac2bd72f52cffe0ce6e54ac09ab4e98ca3206b458c913673328a878eaf9a289d40
|
@@ -22,12 +22,12 @@
|
|
22
22
|
if (targetClass.indexOf('js-visible') !== -1) {
|
23
23
|
target.setAttribute('class', targetClass.replace(/(^|\s)js-visible(\s|$)/, ''))
|
24
24
|
if (window.GOVUK.analytics && window.GOVUK.analytics.trackEvent) {
|
25
|
-
window.GOVUK.analytics.trackEvent('headerClicked', '
|
25
|
+
window.GOVUK.analytics.trackEvent('headerClicked', 'menuClosed', { label: 'none' })
|
26
26
|
}
|
27
27
|
} else {
|
28
28
|
target.setAttribute('class', targetClass + ' js-visible')
|
29
29
|
if (window.GOVUK.analytics && window.GOVUK.analytics.trackEvent) {
|
30
|
-
window.GOVUK.analytics.trackEvent('headerClicked', '
|
30
|
+
window.GOVUK.analytics.trackEvent('headerClicked', 'menuOpened', { label: 'none' })
|
31
31
|
}
|
32
32
|
}
|
33
33
|
if (sourceClass.indexOf('js-visible') !== -1) {
|