about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/javascript/core/common.js3
-rw-r--r--app/javascript/flavours/glitch/packs/common.js4
2 files changed, 4 insertions, 3 deletions
diff --git a/app/javascript/core/common.js b/app/javascript/core/common.js
index a7073ef0e..3b038ca40 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 8dd4372bc..94a4e6ee4 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.