From bcf157a1a9597595c61b1cce84bd62f63fcaa90b Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Mon, 16 Jul 2018 16:42:52 +0200 Subject: Avoid loading rails-ujs twice on vanilla flavour --- app/javascript/flavours/glitch/packs/common.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/javascript/flavours') 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. -- cgit