Merge commit 'e93a75f1a11d6dfdcbd39dbdc22526c5508ad881' into glitch-soc/merge-upstream

Conflicts and ported changes:
- updated `@rails/ujs` imports
This commit is contained in:
Claire committed 2023-10-24 19:59:19 +02:00
commit 4b0fb764c3
17 files changed
+126 -93

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
// This file will be loaded on admin pages, regardless of theme.
import 'packs/public-path';
import { delegate } from '@rails/ujs';
import delegate from '@rails/ujs';
import ready from '../mastodon/ready';
+1 -1
View File
@@ -1,7 +1,7 @@
// This file will be loaded on settings pages, regardless of theme.
import 'packs/public-path';
import { delegate } from '@rails/ujs';
import delegate from '@rails/ujs';
delegate(document, '#edit_profile input[type=file]', 'change', ({ target }) => {
const avatar = document.getElementById(target.id + '-preview');
@@ -1,5 +1,5 @@
import 'packs/public-path';
import { start } from '@rails/ujs';
import start from '@rails/ujs';
import 'flavours/glitch/styles/index.scss';
start();
@@ -4,7 +4,7 @@ import { createRoot } from 'react-dom/client';
import { IntlMessageFormat } from 'intl-messageformat';
import { defineMessages } from 'react-intl';
import { delegate } from '@rails/ujs';
import delegate from '@rails/ujs';
import axios from 'axios';
import { createBrowserHistory } from 'history';
import { throttle } from 'lodash';
@@ -1,5 +1,5 @@
import 'packs/public-path';
import { delegate } from '@rails/ujs';
import delegate from '@rails/ujs';
import loadKeyboardExtensions from 'flavours/glitch/load_keyboard_extensions';
import { loadPolyfills } from 'flavours/glitch/polyfills';
+1 -1
View File
@@ -5,7 +5,7 @@ import { createRoot } from 'react-dom/client';
import { IntlMessageFormat } from 'intl-messageformat';
import { defineMessages } from 'react-intl';
import { delegate } from '@rails/ujs';
import delegate from '@rails/ujs';
import axios from 'axios';
import { throttle } from 'lodash';