mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-31 06:21:50 +01:00
Avoid loading rails-ujs twice on vanilla flavour
This commit is contained in:
parent
f26f1145ac
commit
bcf157a1a9
@ -1,8 +1,5 @@
|
|||||||
// This file will be loaded on all pages, regardless of theme.
|
// This file will be loaded on all pages, regardless of theme.
|
||||||
|
|
||||||
import { start } from 'rails-ujs';
|
|
||||||
import 'font-awesome/css/font-awesome.css';
|
import 'font-awesome/css/font-awesome.css';
|
||||||
|
|
||||||
require.context('../images/', true);
|
require.context('../images/', true);
|
||||||
|
|
||||||
start();
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
import { start } from 'rails-ujs';
|
||||||
|
|
||||||
|
start();
|
||||||
|
|
||||||
import 'flavours/glitch/styles/index.scss';
|
import 'flavours/glitch/styles/index.scss';
|
||||||
|
|
||||||
// This ensures that webpack compiles our images.
|
// This ensures that webpack compiles our images.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user