From eb52abf076a6a21f7831d8a92b0cdce6901fb68a Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 24 Aug 2021 14:35:44 +0200 Subject: [PATCH] DEV: adds server:after-body-open (#14106) This change is to allow to add a node at the top of body. This is currently done through DOM in a plugin which is causing a full Recalculate Style. --- app/views/layouts/application.html.erb | 4 ++++ app/views/layouts/no_ember.html.erb | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 3446d788e2..b476b2f41c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -66,6 +66,10 @@ + <%- if allow_plugins? %> + <%= build_plugin_html 'server:after-body-open' %> + <%- end -%> + <%= render_google_tag_manager_body_code %>