govuk_publishing_components 21.67.1 → 21.67.2
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: dff3c8adb46566625a54c58136bffb72bbaec93fa9d803f04d6372c09065766a
|
4
|
+
data.tar.gz: 48b13db7e001c01cbf4f230195f42248a3378e8f263e7abcb9dae8e88a4e382d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be93ed1a460324911d7e4626a028f5352b7d4a5cbe0838ec67516f1ed03ca6373559f45c60faa572acc112d56d52c035700d4e205dc01f60c057e6355a473dfe
|
7
|
+
data.tar.gz: a46214b1b651dffebaf202c8c1a003c9b2275abd042f458dc8fab883e97a9aeacba0e9d1dbb76070e14f76b87c9d353a63a6a332bad3b291d1ed4d032f744293
|
@@ -80,9 +80,21 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
|
|
80
80
|
|
81
81
|
if (!thisel.querySelectorAll('.js-toggle-link').length) {
|
82
82
|
var span = document.createElement('span')
|
83
|
-
|
84
|
-
|
85
|
-
|
83
|
+
var showHideSpan = document.createElement('span')
|
84
|
+
var commaSpan = document.createElement('span')
|
85
|
+
var thisSectionSpan = document.createElement('span')
|
86
|
+
|
87
|
+
showHideSpan.className = 'gem-c-step-nav__toggle-link js-toggle-link'
|
88
|
+
commaSpan.className = 'govuk-visually-hidden'
|
89
|
+
thisSectionSpan.className = 'govuk-visually-hidden'
|
90
|
+
|
91
|
+
commaSpan.innerHTML = ', '
|
92
|
+
thisSectionSpan.innerHTML = ' this section'
|
93
|
+
|
94
|
+
span.appendChild(commaSpan)
|
95
|
+
span.appendChild(showHideSpan)
|
96
|
+
span.appendChild(thisSectionSpan)
|
97
|
+
|
86
98
|
thisel.querySelectorAll('.js-step-title-button')[0].appendChild(span)
|
87
99
|
}
|
88
100
|
}
|