Load custom.css after the modules. Fix: #284

This commit is contained in:
Michael Teeuw
2016-05-03 16:42:09 +02:00
parent 37f8c0783d
commit 14d3bb273c
2 changed files with 10 additions and 2 deletions

View File

@@ -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();
});
}
};