From 568f9c565e1e265e8bf82d84d09c85c3f8682234 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Tue, 18 Feb 2020 00:35:55 -0500 Subject: [PATCH] fix bad label --- src/js/wardrobeUse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/wardrobeUse.js b/src/js/wardrobeUse.js index 7a38fb280cc..ce014017d13 100644 --- a/src/js/wardrobeUse.js +++ b/src/js/wardrobeUse.js @@ -316,7 +316,7 @@ App.UI.Wardrobe.armAccessory = function(slave) { // Choose her own if (slave.armAccessory !== "none") { array.push({text: `None`, updateSlave: {armAccessory: `none`}}); - label.appendChild(generateRows(array)); + label.appendChild(App.UI.Wardrobe.generateRows(array, "armAccessory", slave, true)); } el.appendChild(label); @@ -327,7 +327,7 @@ App.UI.Wardrobe.armAccessory = function(slave) { {text: "Hand gloves", updateSlave: {armAccessory: "hand gloves"}}, {text: "Elbow gloves", updateSlave: {armAccessory: "elbow gloves"}} ]; - links.appendChild(generateRows(array)); + links.appendChild(App.UI.Wardrobe.generateRows(array, "armAccessory", slave, true)); el.appendChild(links); return jQuery('#armAccessory').empty().append(el); -- GitLab