Fix admin.js starting rails-ujs twice (fixes #8168) (#8213)

This commit is contained in:
ThibG 2018-08-15 23:38:31 +02:00 committed by Eugen Rochko
parent 4f24dc31dc
commit be0b372a22

View file

@ -1,7 +1,4 @@
import { delegate } from 'rails-ujs'; import { delegate } from 'rails-ujs';
import { start } from '../mastodon/common';
start();
function handleDeleteStatus(event) { function handleDeleteStatus(event) {
const [data] = event.detail; const [data] = event.detail;