From d6477a48a6ee8cc99881fb61a94faa3c02f73649 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Mon, 21 Dec 2020 00:13:06 -0500
Subject: [PATCH] remove extra text

---
 src/interaction/siWardrobe.js | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/interaction/siWardrobe.js b/src/interaction/siWardrobe.js
index e64fed6e126..4bfbf570fc8 100644
--- a/src/interaction/siWardrobe.js
+++ b/src/interaction/siWardrobe.js
@@ -185,11 +185,10 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
 
 			// Sort
 			array = array.sort((a, b) => (a.text > b.text) ? 1 : -1);
-			const choices = App.UI.DOM.appendNewElement("div", el, "Choose clothing: ", "choices");
 			if (array.length > 0) {
-				choices.appendChild(generateRows(array, "clothes", true));
+				App.UI.DOM.appendNewElement("div", el, generateRows(array, "clothes", true), "choices");
 			} else {
-				App.UI.DOM.appendNewElement("span", choices, "No available clothing meets your criteria", "note");
+				App.UI.DOM.appendNewElement("span", el, "No available clothing meets your criteria", ["note", "choices"]);
 			}
 			return el;
 		}
@@ -215,11 +214,10 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
 
 			// Sort
 			array = array.sort((a, b) => (a.text > b.text) ? 1 : -1);
-			const choices = App.UI.DOM.appendNewElement("div", el, "Choose collar: ", "choices");
 			if (array.length > 0) {
-				choices.appendChild(generateRows(array, "collar", true));
+				App.UI.DOM.appendNewElement("div", el, generateRows(array, "collar", true), "choices");
 			} else {
-				App.UI.DOM.appendNewElement("span", choices, "No available collar meets your criteria", "note");
+				App.UI.DOM.appendNewElement("div", el, "No available collar meets your criteria", ["note", "choices"]);
 			}
 			return el;
 		}
-- 
GitLab