From 486585e44ce4f13f6b97cf67202a54b1c286da08 Mon Sep 17 00:00:00 2001 From: quentinchampenois <26109239+Quentinchampenois@users.noreply.github.com> Date: Tue, 16 Jan 2024 15:45:50 +0100 Subject: [PATCH] fix: Remove Google translate bar when loaded --- app/views/layouts/decidim/_head_extra.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views/layouts/decidim/_head_extra.html.erb b/app/views/layouts/decidim/_head_extra.html.erb index 0e63e07..fa644a6 100644 --- a/app/views/layouts/decidim/_head_extra.html.erb +++ b/app/views/layouts/decidim/_head_extra.html.erb @@ -6,6 +6,7 @@ }); <% end %> + <% if translation_mode?(:google) %>