diff --git a/app/javascript/packs/inert.js b/app/javascript/core/inert.js similarity index 100% rename from app/javascript/packs/inert.js rename to app/javascript/core/inert.js diff --git a/app/javascript/core/theme.yml b/app/javascript/core/theme.yml index 1b2bfb98f1..f6f653c0a9 100644 --- a/app/javascript/core/theme.yml +++ b/app/javascript/core/theme.yml @@ -10,6 +10,9 @@ pack: embed: embed.js error: home: + inert: + filename: inert.js + stylesheet: true mailer: filename: mailer.js stylesheet: true diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index dd4a79bfbd..674d395118 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -29,7 +29,7 @@ = javascript_pack_tag 'common', crossorigin: 'anonymous' -# Needed for the wicg-inert polyfill. It needs to be on it's own