0
0
Fork 0

Require stylesheets in common.js (#4152)

Require stylesheets in common.js because stylesheets are shared by the
entry points.
This commit is contained in:
Akihiko Odaki (@fn_aki@pawoo.net) 2017-07-11 22:15:42 +09:00 committed by Eugen Rochko
parent 31366334cb
commit 8784bd79d0
4 changed files with 7 additions and 6 deletions

View file

@ -1,9 +1,5 @@
const perf = require('./performance');
// import default stylesheet with variables
require('font-awesome/css/font-awesome.css');
require('mastodon-application-style');
function onDomContentLoaded(callback) {
if (document.readyState !== 'loading') {
callback();