Skip to content

Commit

Permalink
Merge pull request #3383 from alphagov/type-module-changes
Browse files Browse the repository at this point in the history
Drop support for legacy browsers
  • Loading branch information
AshGDS authored Aug 15, 2024
2 parents 0ea720b + 51ac2ef commit c2c448a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ GEM
govuk_personalisation (0.16.0)
plek (>= 1.9.0)
rails (>= 6, < 8)
govuk_publishing_components (41.1.1)
govuk_publishing_components (42.0.0)
govuk_app_config
govuk_personalisation (>= 0.7.0)
kramdown
Expand Down Expand Up @@ -546,10 +546,10 @@ GEM
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
sentry-rails (5.18.2)
sentry-rails (5.19.0)
railties (>= 5.0)
sentry-ruby (~> 5.18.2)
sentry-ruby (5.18.2)
sentry-ruby (~> 5.19.0)
sentry-ruby (5.19.0)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
shoulda-context (2.0.0)
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/helpers/_old-ie.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
margin-right: auto;
}

.js-enabled .govuk-sticky-element--hidden {
.govuk-frontend-supported .govuk-sticky-element--hidden {
@include govuk-visually-hidden;
}

Expand Down
2 changes: 1 addition & 1 deletion app/views/root/_javascript.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= javascript_include_tag local_assigns[:js_file] || 'application', integrity: false %>
<%= javascript_include_tag local_assigns[:js_file] || 'application', integrity: false, type: "module" %>
<% if ENV["DRAFT_ENVIRONMENT"].present? %>
<%= javascript_include_tag 'modules/base-target', integrity: false %>
<% end %>

0 comments on commit c2c448a

Please sign in to comment.