Changed order and reformatted settings #721
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** Functions to create various DOM elements used by the Bars */
|
||||
|
||||
import { ColorBackPre, ColorBlue, ColorTextPre } from '../VariablesAndData';
|
||||
import { ColourBackPre, ColourBlue, ColourTextPre } from '../VariablesAndData';
|
||||
|
||||
/**
|
||||
* This function creates an indivudual timer for the timer bar
|
||||
@@ -47,7 +47,7 @@ export function CreateTimer(id, name, bars) {
|
||||
colorBar.style.borderBottomRightRadius = '10px';
|
||||
}
|
||||
if (typeof bars[i].color !== 'undefined') {
|
||||
colorBar.className = ColorBackPre + bars[i].color;
|
||||
colorBar.className = ColourBackPre + bars[i].color;
|
||||
}
|
||||
div.appendChild(colorBar);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ export function CreateBotBarBuildingColumn(buildingName) {
|
||||
);
|
||||
|
||||
const span = header.appendChild(document.createElement('span'));
|
||||
span.className = ColorTextPre + ColorBlue;
|
||||
span.className = ColourTextPre + ColourBlue;
|
||||
|
||||
header.appendChild(document.createTextNode(')'));
|
||||
type.lastChild.style.paddingLeft = '8px';
|
||||
|
||||
Reference in New Issue
Block a user