Fix interaction modal being broken because of glitch-soc's theming system

pull/2339/head
Claire 2023-07-30 16:45:50 +02:00
parent 92fa9d34b0
commit a1f1424e76
4 changed files with 5 additions and 3 deletions

View File

@ -8,7 +8,7 @@ and performs no other task.
*/ */
import './public-path'; import 'packs/public-path';
import axios from 'axios'; import axios from 'axios';

View File

@ -18,3 +18,4 @@ pack:
settings: settings.js settings: settings.js
sign_up: sign_up:
share: share:
remote_interaction_helper: remote_interaction_helper.ts

View File

@ -1,4 +1,4 @@
- content_for :header_tags do - content_for :header_tags do
%meta{ name: 'robots', content: 'noindex' }/ %meta{ name: 'robots', content: 'noindex' }/
= javascript_pack_tag 'remote_interaction_helper', crossorigin: 'anonymous' = javascript_pack_tag 'core/remote_interaction_helper', crossorigin: 'anonymous'

View File

@ -24,6 +24,7 @@
"app/javascript/mastodon", "app/javascript/mastodon",
"app/javascript/packs", "app/javascript/packs",
"app/javascript/types", "app/javascript/types",
"app/javascript/flavours/glitch" "app/javascript/flavours/glitch",
"app/javascript/core"
] ]
} }