1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Rename config css class

This commit is contained in:
Lucas Vallenet
2022-05-25 13:36:51 +02:00
parent f1544d24f9
commit 2c19d14765
2 changed files with 4 additions and 4 deletions

View File

@@ -29,8 +29,8 @@ function init() {
app.init(app);
$html.classList.add(config.CLASS_NAME.LOADED);
$html.classList.add(config.CLASS_NAME.READY);
$html.classList.remove(config.CLASS_NAME.LOADING);
$html.classList.add(config.CSS_CLASS.LOADED);
$html.classList.add(config.CSS_CLASS.READY);
$html.classList.remove(config.CSS_CLASS.LOADING);
}

View File

@@ -7,7 +7,7 @@ export default config = Object.freeze({
IS_DEV: env === 'development',
// CSS class names
CLASS_NAME: {
CSS_CLASS: {
LOADING: 'is-loading',
READY: 'is-ready',
LOADED: 'is-loaded',