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) authored and Eugen Rochko committed 2017-07-11 15:15:42 +02:00
1 parent 31366334cb
commit 8784bd79d0
4 files changed
+7 -6

No files matched your search

-4
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();