mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 21:00:57 +00:00
Load custom.css after the modules. Fix: #284
This commit is contained in:
10
js/loader.js
10
js/loader.js
@@ -34,7 +34,15 @@ var Loader = (function() {
|
||||
loadNextModule();
|
||||
});
|
||||
} else {
|
||||
startModules();
|
||||
// All modules loaded. Load custom.css
|
||||
// This is done after all the moduels so we can
|
||||
// overwrite all the defined styls.
|
||||
|
||||
loadFile('css/custom.css', function() {
|
||||
// custom.css loaded. Start all modules.
|
||||
startModules();
|
||||
});
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user