From: Andy Allan Date: Wed, 2 Aug 2023 15:07:13 +0000 (+0100) Subject: Switch to bootstrap recommended viewport definition X-Git-Tag: live~1861^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/98b1e5f76ce400af3270c3350804d40e30fd7d53?hp=39eb3349922d8a36a6631c235fa06fa803a047f8 Switch to bootstrap recommended viewport definition Original version was introduced in 6674873478c9fe221d2fd78f76cabc6d4b03c0aa and has not been changed since. Google's PageSpeed Insights tool also flagged this up as an accessibility issue, since it previously prohibited users zooming into the site. --- diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 63cbe7082..0ee5bf9c0 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -1,6 +1,6 @@ <%= tag.head :data => application_data do %> - + <%= javascript_include_tag "es6" unless browser.es6? %> <%= javascript_include_tag "application" %> <%= javascript_include_tag "i18n/#{I18n.locale}" %>