diff --git a/app/javascript/core/common.js b/app/javascript/core/common.js index a7073ef0eb..3b038ca40c 100644 --- a/app/javascript/core/common.js +++ b/app/javascript/core/common.js @@ -1,8 +1,5 @@ // This file will be loaded on all pages, regardless of theme. -import { start } from 'rails-ujs'; import 'font-awesome/css/font-awesome.css'; require.context('../images/', true); - -start(); diff --git a/app/javascript/flavours/glitch/packs/common.js b/app/javascript/flavours/glitch/packs/common.js index 8dd4372bc4..94a4e6ee4e 100644 --- a/app/javascript/flavours/glitch/packs/common.js +++ b/app/javascript/flavours/glitch/packs/common.js @@ -1,3 +1,7 @@ +import { start } from 'rails-ujs'; + +start(); + import 'flavours/glitch/styles/index.scss'; // This ensures that webpack compiles our images.