From 9bd97d2b29119b331bac3abcc36414a2c0c462e8 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Sat, 5 Dec 2020 23:58:13 -0500
Subject: [PATCH] change order

---
 src/facilities/fsDecoration.js | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/src/facilities/fsDecoration.js b/src/facilities/fsDecoration.js
index 45218f17c56..a51344464e5 100644
--- a/src/facilities/fsDecoration.js
+++ b/src/facilities/fsDecoration.js
@@ -74,6 +74,15 @@ App.UI.facilityRedecoration = function() {
 	function createPulldown(option, variable) {
 		const select = document.createElement("select");
 		select.classList.add("rajs-list");
+
+		// Standard decorations
+		const choice = App.UI.DOM.appendNewElement("option", select, "Standard");
+		choice.value = "standard";
+		if (V[variable] === "standard") {
+			choice.selected = true;
+		}
+
+		// FS decorations
 		for (const decorationName of decorationNames) {
 			const choice = App.UI.DOM.makeElement("option", decorationName);
 			if (V[variable] === decorationName) {
@@ -81,11 +90,6 @@ App.UI.facilityRedecoration = function() {
 			}
 			select.append(choice);
 		}
-		const choice = App.UI.DOM.appendNewElement("option", select, "Standard");
-		choice.value = "standard";
-		if (V[variable] === "standard") {
-			choice.selected = true;
-		}
 
 		select.onchange = () => {
 			const O = select.options[select.selectedIndex];
@@ -102,12 +106,17 @@ App.UI.facilityRedecoration = function() {
 	function modifyAll(option) {
 		const select = document.createElement("select");
 		select.classList.add("rajs-list");
+
+		// Standard decorations
+		const standard = App.UI.DOM.appendNewElement("option", select, "Standard");
+		standard.value = "standard";
+
+		// FS decorations
 		for (const decorationName of decorationNames) {
 			App.UI.DOM.appendNewElement("option", select, decorationName);
 		}
-		const standard = App.UI.DOM.appendNewElement("option", select, "Standard");
-		standard.value = "standard";
 
+		// Round Robin
 		App.UI.DOM.appendNewElement("option", select, "Distribute Evenly");
 
 		select.onchange = () => {
-- 
GitLab