Require stylesheets in common.js (#4152)
Require stylesheets in common.js because stylesheets are shared by the entry points.
This commit is contained in:
committed by
Eugen Rochko
parent
31366334cb
commit
8784bd79d0
@ -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();
|
||||
|
Reference in New Issue
Block a user