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

shrike
ThibG 2018-08-15 23:38:31 +02:00 committed by Eugen Rochko
parent 4f24dc31dc
commit be0b372a22
1 changed files with 0 additions and 3 deletions

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;