about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-03-05 04:27:40 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-03-04 20:27:40 +0100
commit7a6eaad445ca009001a31657d163b0316b27e9e4 (patch)
tree6a704d1edb427c48decd7a30a745340eba965f03 /app
parent460e380d386367b6809d319859e13d17a6a2acea (diff)
Do not require images in about.js and share.js (#6622)
They are already required by common.js.
Diffstat (limited to 'app')
-rw-r--r--app/javascript/packs/about.js2
-rw-r--r--app/javascript/packs/share.js2
2 files changed, 0 insertions, 4 deletions
diff --git a/app/javascript/packs/about.js b/app/javascript/packs/about.js
index 50c81198e..63e12da42 100644
--- a/app/javascript/packs/about.js
+++ b/app/javascript/packs/about.js
@@ -1,7 +1,5 @@
 import loadPolyfills from '../mastodon/load_polyfills';
 
-require.context('../images/', true);
-
 function loaded() {
   const TimelineContainer = require('../mastodon/containers/timeline_container').default;
   const React             = require('react');
diff --git a/app/javascript/packs/share.js b/app/javascript/packs/share.js
index 51e4ae38b..e9580f648 100644
--- a/app/javascript/packs/share.js
+++ b/app/javascript/packs/share.js
@@ -1,7 +1,5 @@
 import loadPolyfills from '../mastodon/load_polyfills';
 
-require.context('../images/', true);
-
 function loaded() {
   const ComposeContainer = require('../mastodon/containers/compose_container').default;
   const React = require('react');