From 41233d72244cfb0acb4b0956c66f71a729a55c6d Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sat, 5 Dec 2020 23:39:07 -0500 Subject: [PATCH] remove indent; comment --- src/facilities/fsDecoration.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/facilities/fsDecoration.js b/src/facilities/fsDecoration.js index dfa9241948c..92ff25a27c2 100644 --- a/src/facilities/fsDecoration.js +++ b/src/facilities/fsDecoration.js @@ -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"); -- GitLab