Skip to content
Snippets Groups Projects
Commit 41233d72 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

remove indent; comment

parent 4c8c3517
No related branches found
No related tags found
No related merge requests found
......@@ -76,13 +76,13 @@ App.UI.facilityRedecoration = function() {
const select = document.createElement("select");
select.classList.add("rajs-list");
for (const decorationName of decorationNames) {
const choice = App.UI.DOM.makeElement("option", decorationName, "indent");
const choice = App.UI.DOM.makeElement("option", decorationName);
if (V[variable] === decorationName) {
choice.selected = true;
}
select.append(choice);
}
const choice = App.UI.DOM.makeElement("option", "Standard", "indent");
const choice = App.UI.DOM.makeElement("option", "Standard");
if (V[variable] === "standard") {
choice.selected = true;
}
......@@ -106,15 +106,15 @@ App.UI.facilityRedecoration = function() {
const select = document.createElement("select");
select.classList.add("rajs-list");
for (const decorationName of decorationNames) {
App.UI.DOM.appendNewElement("option", select, decorationName, "indent");
App.UI.DOM.appendNewElement("option", select, decorationName);
}
App.UI.DOM.appendNewElement("option", select, "Standard", "indent");
App.UI.DOM.appendNewElement("option", select, "Standard");
App.UI.DOM.appendNewElement("option", select, "Distribute Evenly", "indent");
App.UI.DOM.appendNewElement("option", select, "Distribute Evenly");
select.onchange = () => {
const O = select.options[select.selectedIndex];
if (O.value === "Distribute Evenly") {
if (O.value === "Distribute Evenly") { // Cycles through the list of available FS decorations, and distributes them to facilities round robin style.
let i = 0;
for (const decoration of activeFacilities.values()) {
cashX(-5000, "capEx");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment