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

alow selection of plug

parent 6e788054
No related branches found
No related tags found
1 merge request!8569Toy shop
...@@ -519,6 +519,19 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -519,6 +519,19 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
App.UI.DOM.appendNewElement("div", el, generateRows(normalArray, "buttplug", true), "choices"); App.UI.DOM.appendNewElement("div", el, generateRows(normalArray, "buttplug", true), "choices");
App.UI.DOM.appendNewElement("div", el, generateRows(longArray, "buttplug", true), "choices"); App.UI.DOM.appendNewElement("div", el, generateRows(longArray, "buttplug", true), "choices");
if (V.customItem.buttPlugs.size > 0) {
let customArray = [];
for (const [key, object] of V.customItem.buttPlugs) {
const reshapedItem = {
text: object.name,
updateSlave: {buttplug: key},
FS: object.fs,
};
customArray.push(reshapedItem);
}
App.UI.DOM.appendNewElement("div", el, generateRows(customArray, "buttplug", false), "choices");
}
return el; return el;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment