govuk_publishing_components 38.3.0 → 38.3.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: 174edc8aff1507967b48ea3efcec2a79d56c22adbf64f5414d2d758603fb0ef5
|
4
|
+
data.tar.gz: 0ce85ca601099c9341c2e956fef04e5fb1dbea78ffdc298a997e287423d21c8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d47f8dd957ff9d95f2c118aa7d747e4c43ef7dbf95dc80636d6c2583e925235370ca0f246d1be53bb83bf8bf90633e46e859c79fadf303779a886567c76e1528
|
7
|
+
data.tar.gz: 9e38d46ac5722147f3f48ffecb1d5d08b3ae93ca4117c48792a3e8903561a84947e7c1d5e32d3d66ef1413519bf7c30e8bb8424b54d2af0b3d005c5cd93a6bca
|
@@ -161,8 +161,10 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
|
|
161
161
|
this.prompt.hidden ? this.prompt.hidden = false : this.prompt.hidden = true
|
162
162
|
|
163
163
|
if (!this.activeForm.hidden) {
|
164
|
-
this.activeForm.querySelectorAll('.gem-c-textarea .govuk-textarea, .gem-c-input.govuk-input')
|
165
|
-
|
164
|
+
var input = this.activeForm.querySelectorAll('.gem-c-textarea .govuk-textarea, .gem-c-input.govuk-input')
|
165
|
+
if (input.length > 0) {
|
166
|
+
input[0].focus()
|
167
|
+
}
|
166
168
|
} else {
|
167
169
|
this.activeForm = false
|
168
170
|
clearInterval(this.timerInterval)
|
@@ -7,7 +7,7 @@
|
|
7
7
|
end
|
8
8
|
%>
|
9
9
|
<% if remaining.any? %>
|
10
|
-
<%= items.to_sentence(last_word_connector: '
|
10
|
+
<%= items.to_sentence(last_word_connector: ' and ').html_safe %>
|
11
11
|
<div class="gem-c-metadata__toggle-wrap govuk-!-display-none-print">
|
12
12
|
<a href="#"
|
13
13
|
class="gem-c-metadata__definition-link govuk-!-display-none-print"
|
@@ -21,5 +21,5 @@
|
|
21
21
|
</div>
|
22
22
|
<span id="toggle-<%= toggle_id %>" class="gem-c-metadata__toggle-items js-hidden"><%= remaining.to_sentence.html_safe %></span>
|
23
23
|
<% else %>
|
24
|
-
<%= items.to_sentence.html_safe %>
|
24
|
+
<%= items.to_sentence(last_word_connector: ' and ').html_safe %>
|
25
25
|
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 38.3.
|
4
|
+
version: 38.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|